Commit 2a473169 authored by aknecht2's avatar aknecht2
Browse files

Fixed list comprehension typo.

parent d095909d
......@@ -219,7 +219,7 @@ class WorkflowModule(object):
data = module_files
for arg_params, file_key in zip([inputs, additional_files], ["inputs", "additional_files"]):
# Only consider file arguments
for file_name in [arg_param if arg_param["type"] == "file" for arg_param in arg_params]:
for file_name in [arg_param for arg_param in arg_params if arg_param["type"] == "file"]:
if file_name not in module_files[file_key]:
valid = False
msg += "Error loading '%s' jobs. Supplied file with name '%s' does not exist in module %s.\n" % (, file_name, file_key)
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