Skip to content

Commit

Permalink
Added flatten field to CWLObjectType array
Browse files Browse the repository at this point in the history
  • Loading branch information
GlassOfWhiskey committed Feb 17, 2023
1 parent a4d962d commit 7ab983b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
10 changes: 7 additions & 3 deletions Base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ $graph:
- name: CWLObjectType
type: union
names:
- "null"
- boolean
- int
- long
Expand All @@ -410,9 +409,14 @@ $graph:
- File
- Directory
- type: array
items: CWLObjectType
items:
- "null"
- CWLObjectType
flatten: false
- type: map
values: CWLObjectType
values:
- "null"
- CWLObjectType
doc: |
Generic type representing a valid CWL object. It is used to represent
`default` values passed to CWL `InputParameter` and `WorkflowStepInput`
Expand Down
2 changes: 1 addition & 1 deletion Process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ $graph:
extends: [Parameter, InputFormat, LoadContents]
fields:
- name: default
type: CWLObjectType
type: CWLObjectType?
jsonldPredicate:
_id: sld:default
noLinkCheck: true
Expand Down
5 changes: 3 additions & 2 deletions Workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ $graph:
fields:
- name: default
type: CWLObjectType
type: CWLObjectType?
doc: |
The default value for this parameter to use if either there is no
`source` field, or the value produced by the `source` is `null`. The
Expand Down Expand Up @@ -814,8 +814,9 @@ $graph:
- name: CWLInputFile
type: map
values:
- "null"
- type: array
items: ProcessRequirement
- CWLObjectType
doc: |
Type representing a valid CWL input file as a `map<string, CWLObjectType>`.
Type representing a valid CWL input file as a `map<string, union<array<ProcessRequirement>, CWLObjectType>>`.

0 comments on commit 7ab983b

Please sign in to comment.