ohsu-comp-bio / cwl-tes

cwl-tes submits your tasks to a TES server. Task submission is parallelized when possible.
Apache License 2.0
18 stars 28 forks source link

Get error argument required when trying to submit #31

Open medcelerate opened 5 years ago

medcelerate commented 5 years ago

I get this error below when trying to run with an inputs file on a funnel server running locally. This happens before it hits the server.

Resolved 'examples/whale/whale.cwl' to 'file:///Users/djevanclark/Documents/Sinai/cromwell-job-manager/examples/whale/whale.cwl'
usage: examples/whale/whale.cwl [-h] --tarfile TARFILE [job_order]
examples/whale/whale.cwl: error: the following arguments are required: --tarfile

Command:

cwl-tes --tes http://localhost:8000 examples/whale/whale.cwl --inputs examples/whale/whale-inputs.yml
medcelerate commented 5 years ago

On another note, removing the --inputs flag seems to bypass this issue, I also tried --input as well with the same result as above.

adamstruck commented 5 years ago

There is no --inputs or --input flag for cwl-tes. Any flags that come after the CWL document are assumed to be inputs defined in the CWL (like --tarfile in your error message above).

I think this is the correct syntax for what you are trying to do:

cwl-tes --tes http://localhost:8000 examples/whale/whale.cwl examples/whale/whale-inputs.yml