Commit 94386c22 authored by aknecht2's avatar aknecht2
Browse files

workflow_module now checks against master_jobs instead of master_files before adding jobs.

parent 2fd89435
......@@ -328,7 +328,8 @@ class WorkflowModule(object):
job_name = job_dict.keys()[0]
job_info = job_dict[job_name]
# outputs is a dict! Check the values not the keys.
if any([output_file not in master_files for output_file in outputs.values()]):
# output files get created before a job is added, check against master_jobs instead
if any([output_file not in master_jobs 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