-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the definition of source
for WorkflowStepInput
#247
Comments
The connection between WorkflowStep.in and Lines 574 to 579 in 4a715dd
The Lines 283 to 293 in 4a715dd
(It is interesting that The definition of OutputSource is at Lines 228 to 241 in 4a715dd
And it is not involved with any abbreviated form. If we replace Options could include
|
@mr-c
I found this case:
https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/tests/count-lines4-wf.cwl
While working on opengeospatial/ogcapi-processes#329
Which has:
But the doc:
https://www.commonwl.org/v1.2/Workflow.html#WorkflowStep
Shows:
in
: array<WorkflowStepInput> | map<id
,source
| WorkflowStepInput>While the
outputSource
: string | array<string>is explicitly defined as potentially a string/list of string in https://www.commonwl.org/v1.2/Workflow.html#WorkflowOutputParameter,
the
source
does not show explicitly thearray<string>
variant.There is this part of the text that identifies it as a possibility, but I find that the missing
array
in the definition makes its somewhat counter intuitive (and in fact, it was not a use case I covered until I got the error because I didn't notice it as something that was possible).I propose to add the
array
variant explicitly to the table.The text was updated successfully, but these errors were encountered: