Commit 585a5943 authored by aknecht2's avatar aknecht2
Browse files

Added helper function to get names of final outputs from module.

parent 7b6298b8
......@@ -362,6 +362,13 @@ class WorkflowModule(object):
dep_list.append(file_dict["name"])
return dep_list
def get_final_outputs(self, markers):
job_list = self._get_job_list(markers)
job_dict = job_list[-1]
job_name = job_dict.keys()[0]
outputs = job_dict[job_name]["outputs"]
return [output.keys()[0] for output in outputs]
def _setup_job_params(self, master_files, job_info, markers, param_type, arg_params, outputs):
"""
:param master_files: Master file dictionary mapping file_names -> file objects.
......
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