At the moment
default on an CommandInputParameter is a static value. I encountered a case when updating the
bwa-index.cwl tool where it would be very useful for this to be an expression, so that if the (optional)
index_name parameter is not provided (thus it is null), the value from the
input_file.nameroot is used instead. This could then set the value for this parameter when no user supplied value is provided.
Are there down sides to
default not being allowed to being an expression?
P.S. should I start this discussion here or as a Github Issue on https://github.com/common-workflow-language/common-workflow-language ?