Skip to content

Commit

Permalink
put stdin shortcut in correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Sep 7, 2016
1 parent 1550753 commit 5324dbb
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 30 deletions.
30 changes: 24 additions & 6 deletions v1.1.0-dev1/CommandLineTool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -367,14 +367,32 @@ $graph:
extends: InputParameter
doc: An input parameter for a CommandLineTool.
specialize:
- specializeFrom: InputRecordSchema
specializeTo: CommandInputRecordSchema
- specializeFrom: InputEnumSchema
specializeTo: CommandInputEnumSchema
- specializeFrom: InputArraySchema
specializeTo: CommandInputArraySchema
- specializeFrom: InputBinding
specializeTo: CommandLineBinding
fields:
- name: type
type:
- "null"
- CWLType
- stdin
- CommandInputRecordSchema
- CommandInputEnumSchema
- CommandInputArraySchema
- string
- type: array
items:
- CWLType
- CommandInputRecordSchema
- CommandInputEnumSchema
- CommandInputArraySchema
- string
jsonldPredicate:
"_id": "sld:type"
"_type": "@vocab"
refScope: 2
typeDSL: True
doc: |
Specify valid types of data that may be assigned to this parameter.
- type: record
name: CommandOutputParameter
Expand Down
5 changes: 5 additions & 0 deletions v1.1.0-dev1/Process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,10 @@ $graph:
The default value for this parameter if not provided in the input
object.
- name: RegularInputParameter
type: record
extends: InputParameter
fields:
- name: type
type:
- "null"
Expand All @@ -591,6 +595,7 @@ $graph:
doc: |
Specify valid types of data that may be assigned to this parameter.
- name: OutputParameter
type: record
extends: Parameter
Expand Down
52 changes: 28 additions & 24 deletions v1.1.0-dev1/Workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@ $graph:
- name: type
type:
- "null"
- "#CWLType"
- "#OutputRecordSchema"
- "#OutputEnumSchema"
- "#OutputArraySchema"
- CWLType
- OutputRecordSchema
- OutputEnumSchema
- OutputArraySchema
- string
- type: array
items:
- "#CWLType"
- "#OutputRecordSchema"
- "#OutputEnumSchema"
- "#OutputArraySchema"
- CWLType
- OutputRecordSchema
- OutputEnumSchema
- OutputArraySchema
- string
jsonldPredicate:
"_id": "sld:type"
Expand All @@ -111,13 +111,15 @@ $graph:
name: ExpressionTool
extends: Process
specialize:
- specializeFrom: "#OutputParameter"
specializeTo: "#ExpressionToolOutputParameter"
- specializeFrom: InputParameter
specializeTo: RegularInputParameter
- specializeFrom: OutputParameter
specializeTo: ExpressionToolOutputParameter
documentRoot: true
doc: |
Execute an expression as a Workflow step.
fields:
- name: "class"
- name: class
jsonldPredicate:
"_id": "@type"
"_type": "@vocab"
Expand Down Expand Up @@ -158,25 +160,25 @@ $graph:
- string?
- string[]?
- name: linkMerge
type: ["null", "#LinkMergeMethod"]
type: ["null", LinkMergeMethod]
jsonldPredicate: "cwl:linkMerge"
doc: |
The method to use to merge multiple sources into a single array.
If not specified, the default method is "merge_nested".
- name: type
type:
- "null"
- "#CWLType"
- "#OutputRecordSchema"
- "#OutputEnumSchema"
- "#OutputArraySchema"
- CWLType
- OutputRecordSchema
- OutputEnumSchema
- OutputArraySchema
- string
- type: array
items:
- "#CWLType"
- "#OutputRecordSchema"
- "#OutputEnumSchema"
- "#OutputArraySchema"
- CWLType
- OutputRecordSchema
- OutputEnumSchema
- OutputArraySchema
- string
jsonldPredicate:
"_id": "sld:type"
Expand Down Expand Up @@ -268,8 +270,8 @@ $graph:
- name: valueFrom
type:
- "null"
- "string"
- "#Expression"
- string
- Expression
jsonldPredicate: "cwl:valueFrom"
doc: |
To use valueFrom, [StepInputExpressionRequirement](#StepInputExpressionRequirement) must
Expand Down Expand Up @@ -462,8 +464,10 @@ $graph:
extends: "#Process"
documentRoot: true
specialize:
- specializeFrom: "#OutputParameter"
specializeTo: "#WorkflowOutputParameter"
- specializeFrom: InputParameter
specializeTo: RegularInputParameter
- specializeFrom: OutputParameter
specializeTo: WorkflowOutputParameter
doc: |
A workflow describes a set of **steps** and the **dependencies** between
those steps. When a step produces output that will be consumed by a
Expand Down

0 comments on commit 5324dbb

Please sign in to comment.