Feature #3211
closedarv-run-pipeline-instance should be more helpful when required parameters are missing
Description
"script_parameters":{
"input":{
"required": true,
"dataclass": "Collection"
}
},
This isn't working as intended, I get the error: do_hash::input - required parameter is missing. Ward said this is supposed to ask for an input, but it is currently not doing so
Updated by Brett Smith over 11 years ago
This would be a nice feature, but for what it's worth, I don't believe arv-run-pipeline-instance has ever had this feature to date. I've always had to specify them on the command line, like arv-run-pipeline-instance … do_hash::input=LOCATOR.
Updated by Tom Clegg over 11 years ago
Perhaps the error message could be more helpful...
Parameters can be specified on the command line. To specify a value "foo bar" for the abc::xyz parameter, add a command line argument abc::xyz="foo bar" -- for example:
arv-run-pipeline-instance [...] do_hash::input=LOCATOR
...however, we don't particularly want that sort of help to propagate to crunch-dispatch / Workbench. Perhaps the extended version of the error message should appear only if stderr isatty?
Updated by Brett Smith over 11 years ago
- Tracker changed from Bug to Feature
- Subject changed from Running pipelines in command line do not prompt user for input. to arv-run-pipeline-instance should be more helpful when required parameters are missing