Skip to content

Commit

Permalink
minor adjustments, polished docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Aug 4, 2023
1 parent 6513b8a commit 182f8cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions looper/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,11 +774,14 @@ def _reset_curr_skips(self):

def check_executable_path(self, pl_iface):
"""Determines if supplied pipelines are callable.
Raises error and exits Looper if not callable"""
pl_iface = pl_iface
Raises error and exits Looper if not callable
:param dict pl_iface: pipeline interface that stores paths to executables
:return bool: True if path is callable.
"""
pipeline_commands = []
if "path" in pl_iface.keys():
pipeline_commands.append(pl_iface["path"])

if (
"var_templates" in pl_iface.keys()
and "pipeline" in pl_iface["var_templates"].keys()
Expand Down
2 changes: 1 addition & 1 deletion looper/pipeline_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import pandas as pd
from eido import read_schema
from peppy import utils as peputil
from ubiquerg import expandpath, is_url, is_command_callable
from ubiquerg import expandpath, is_url
from yacman import load_yaml, YAMLConfigManager

from .const import *
Expand Down

0 comments on commit 182f8cf

Please sign in to comment.