Commit f8a7244b authored by aknecht2's avatar aknecht2
Browse files

Updated prefix tracking, added function to get full prefix.

parent 2929cb03
......@@ -306,7 +306,7 @@ class Workflow(object):
# For future tools, we need to keep track
# of prefixes since all files are tracked
# by markers.
run["prefix"].append(self.modules["align"]._get_full_prefix(prefix, markers))
self.modules["align"].add_jobs(self.dax,, self.files, prefix, markers, input_files, additional_files)
......@@ -242,3 +242,9 @@ class WorkflowModule(object):
return "%s_%s_%s" % (prefix, "_".join([x + "_" + markers[x] for x in self.order]), file_name)
return "%s_%s" % (prefix, file_name)
def _get_full_prefix(self, prefix, markers):
if markers:
return "%s_%s" % (prefix, "_".join([x + "_" + markers[x] for x in self.order]))
return prefix
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment