Open simonbray opened 1 year ago
This is somewhat related, but for tool parameters: https://github.com/galaxyproject/galaxy/issues/4736
Since I had to have a required value with a default today, one thing you can do now is use the pick_value tool and an optional input, and set the default value when in the pick value tool if the first input is null. That'll fix the traceback situation above.
In order to set a default value for a workflow parameter, the
Optional
boolean has to be set to true:But of course a workflow developer may well want to set a default for a non-optional parameter.
If the workflow user removes the default value for such a parameter and submits the workflow with the input left empty, at some point a tool will fail with an error similar to the following: