Project

General

Profile

Actions

Feature #3211

closed

arv-run-pipeline-instance should be more helpful when required parameters are missing

Added by Bryan Cosca over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-

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

Actions #1

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.

Actions #2

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?

Actions #3

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
Actions #4

Updated by Peter Amstutz about 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF