Entering edit mode
6.2 years ago
ionox0
▴
390
Is it possible to combine multiple inputs from another step using valueFrom
so that they can be scattered over?
For example something like:
inputs:
input_one: Directory
input_two: Directory
steps:
a_step:
run: ../../cwl_tools/noise/calculate_noise.cwl
in:
input_thing:
valueFrom: |
${
return [
inputs.input_one,
inputs.input_two
]
}
out: [output_thing]
scatter: input_thing
I get this error:
[workflow workflow.cwl] starting step a_step
Unhandled exception
Traceback (most recent call last):
File "/home/johnsoni/virtualenvs/pipeline_test/lib/python2.7/site-packages/cwltool-1.0.20180306140409-py2.7.egg/cwltool/workflow.py", line 401, in try_make_job
emptyscatter = [shortname(s) for s in scatter if len(inputobj[s]) == 0]
TypeError: object of type 'NoneType' has no len()