diff --git a/looper/conductor.py b/looper/conductor.py index 9796d7070..48d17e6dd 100644 --- a/looper/conductor.py +++ b/looper/conductor.py @@ -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() diff --git a/looper/pipeline_interface.py b/looper/pipeline_interface.py index aca1bdd29..abe9a43d9 100644 --- a/looper/pipeline_interface.py +++ b/looper/pipeline_interface.py @@ -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 *