common-workflow-language / user_guide

The CWL v1.0 - v1.2 user guide
http://www.commonwl.org/user_guide/
Other
42 stars 67 forks source link

how to connect an enum source to a string sink #354

Open mr-c opened 1 year ago

mr-c commented 1 year ago

Answer: use valueFrom or an ExpressionTool (but show a tested example)

Automatic conversion is not explicitly supported in CWL v1.[0-2]; though some engines seem to accept this (cwl-airflow, for example)

swzCuroverse commented 1 year ago

@mr-c should this be a larger discussion about when to use valueFrom or just included in the FAQ?

swzCuroverse commented 1 year ago

@Fienne this might be a good one for you to tackle as well?

Fienne commented 1 year ago

Yes @swzCuroverse , I can work on this