Hi, I am working on an implementation of CWL and I don't understand, why would WorkflowStepInput have 2 fields simultaneously: valueFrom
and default
: http://www.commonwl.org/v1.0/Workflow.html#WorkflowStepInput.
I understand that valueFrom
allows us to hard-code the value, supplied to a step input, or make it a dynamically evaluatable expression (if we don't want this step to take its input value from workflow input or output of another step). But why would I need default
field then, except that it is a legacy field from the times of draft-2?
I have seen several CWL posts now, could somebody explain the relation to bioinformatics of the questions? I see that it is a very useful tool also for bioinformatics but not only, but some questions seem to be very much about the details of its implementation that are not at all bioinformatics specific.
Lets discuss this elsewhere -- maybe create an issue at https://github.com/ialbert/biostar-central/issues & tag me? I'm mr-c on Github.