You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, according to spec, step ports are connected with "implementation" ports using an IRI from param property of WorkflowStepInput. An alternative option we discussed was to use naming convention where step inputs should be named #<step_id>/<impl_port_id>.
The key difference is that naming convention allows us to recognize an "interface" of a step and easily switch out one implementation for another. For example, if we had a "variant calling" step which has inputs "reference" and "fastq_mates" and a "vcf" output, one can create subworkflows matching that interface and switch implementations by just modifying the run property.
I suggest we at least keep the second option as fallback: if param is not specified, match ports using the naming convention.
This does sort of violate the spirit of linked data, but I think this makes sense if we slightly redefine the semantics of a workflow step this way, with one suggested modification to use '.' instead of '/':
inputs describes how to build the input object for the process invocation.
The name used in the input object field is the portion of the id following the last '.' or the entire id if there is no '.'
outputs describes how to map output fields from the process invocation into the workflow, following the same rule.
Activity
tetron commentedon Jun 12, 2015
This does sort of violate the spirit of linked data, but I think this makes sense if we slightly redefine the semantics of a workflow step this way, with one suggested modification to use '.' instead of '/':
inputsdescribes how to build the input object for the process invocation.idfollowing the last '.' or the entire id if there is no '.'outputsdescribes how to map output fields from the process invocation into the workflow, following the same rule.Use id fragment naming convention to map input and output parameters for
tetron commentedon Jun 23, 2015
Committed, please review and reopen ticket if you have any concerns.
Optimize validate (#60)
Squashed 'v1.1.0-dev1/salad/' changes from 98a5bea..27c20e8