diff --git a/chipathlon/jobs/wrappers/r_spp_nodups_wrapper.sh b/chipathlon/jobs/wrappers/spp_nodups_wrapper.sh similarity index 100% rename from chipathlon/jobs/wrappers/r_spp_nodups_wrapper.sh rename to chipathlon/jobs/wrappers/spp_nodups_wrapper.sh diff --git a/chipathlon/workflow.py b/chipathlon/workflow.py index 6254d05ac8739b480378921142875279e5612f4d..e444b38b31150887f6df9ce18ab63f5c356b2bb7 100644 --- a/chipathlon/workflow.py +++ b/chipathlon/workflow.py @@ -141,7 +141,7 @@ class Workflow(object): # Load wrapper scripts for commands that need to be loaded from module for root, dirs, files in os.walk("%s/%s" % (os.path.dirname(os.path.realpath(__file__)), chipathlon.conf.job_wrappers)): for f in files: - self._add_executable(f.split("_")[0], os.path.join(root, f)) + self._add_executable("_".join(f.split("_")[:-1]), os.path.join(root, f)) break # Load actual scripts for root, dirs, files in os.walk("%s/%s" % (os.path.dirname(os.path.realpath(__file__)), chipathlon.conf.job_scripts)):