Commit 86b67132 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent 3a7c680f
...@@ -233,16 +233,10 @@ class Workflow(threading.Thread): ...@@ -233,16 +233,10 @@ class Workflow(threading.Thread):
choices=param.choices, required=param.required, flag=param.flag, choices=param.choices, required=param.required, flag=param.flag,
group=param.group, display_name=param.display_name) group=param.group, display_name=param.display_name)
self.__setattr__(param.name, new_param) self.__setattr__(param.name, new_param)
elif param.__class__ == InputFileList: elif param.__class__ == InputFileList and args[param.name]:
if args[param.name]: self.__setattr__(param.name, param.prepare_input_files(args[param.name]))
self.__setattr__(param.name, param.prepare_input_files(args[param.name])) elif param.__class__ == ParameterList and args[param.name]:
else:
self.__setattr__(param.name, [])
elif param.__class__ == ParameterList:
if args[param.name]:
self.__setattr__(param.name, args[param.name]) self.__setattr__(param.name, args[param.name])
else:
self.__setattr__(param.name, [])
elif param.__class__ == MultiParameter: elif param.__class__ == MultiParameter:
sub_args = {} sub_args = {}
for sarg in args[param.name]: for sarg in args[param.name]:
......
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