Hi,
Is it valid in the CWL language to have two input parameters with the same inputBinding position? I thought that would raise an error (tried with --strict --verbose) but it actually appended the values of hello message and file.
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
baseCommand: echo
inputs:
message:
type: string
inputBinding:
position: 1
file:
type: string
inputBinding:
position: 1
outputs: []
In the example above, with the reference cwlrunner, everything runs fine:
$ cwl-runner --strict --verbose 1st-tool.cwl echo-job.yml
INFO /home/kinow/Development/python/workspace/cwl/venv/bin/cwl-runner 1.0.20190621234233
INFO Resolved '1st-tool.cwl' to 'file:///home/kinow/Development/python/workspace/cwl/1st-tool.cwl'
INFO [job 1st-tool.cwl] /tmp/wn7i3zwz$ echo \
'Say what?' \
'Hello world!'
Say what? Hello world!
INFO Could not collect memory usage, job ended before monitoring began.
INFO [job 1st-tool.cwl] completed success
{}
INFO Final process status is success
Content of echo-job.yml:
message: Hello world!
file: Say what?
Thanks Bruno