Commit 365e1174 authored by aknecht2's avatar aknecht2
Browse files

Fixed a bug creating multiple copies of jobs.

parent bcab5d0e
......@@ -327,7 +327,8 @@ class WorkflowModule(object):
for job_dict in job_list:
job_name = job_dict.keys()[0]
job_info = job_dict[job_name]
if any([output_file not in master_files for output_file in outputs]):
# outputs is a dict! Check the values not the keys.
if any([output_file not in master_files for output_file in outputs.values()]):
job_inputs = self._setup_job_params(master_files, job_info, markers, "inputs", inputs, outputs)
job_additional = self._setup_job_params(master_files, job_info, markers, "additional_inputs", additional_inputs, outputs)
job_outputs = self._setup_job_params(master_files, job_info, markers, "outputs", outputs, outputs)
......
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