Skip to content

Commit b8e57da

Browse files
committed
clarify the format field on outputs
1 parent 13f35aa commit b8e57da

File tree

1 file changed

+35
-22
lines changed

1 file changed

+35
-22
lines changed

v1.0/Process.yml

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -349,28 +349,6 @@ $graph:
349349
extensions, the path is unchanged.
350350
2. Append the remainder of the string to the end of the file path.
351351
352-
- name: format
353-
type:
354-
- "null"
355-
- string
356-
- type: array
357-
items: string
358-
- Expression
359-
jsonldPredicate:
360-
_id: cwl:format
361-
_type: "@id"
362-
identity: true
363-
doc: |
364-
Only valid when `type: File` or is an array of `items: File`.
365-
366-
For input parameters, this must be one or more IRIs of concept nodes
367-
that represents file formats which are allowed as input to this
368-
parameter, preferrably defined within an ontology. If no ontology is
369-
available, file formats may be tested by exact match.
370-
371-
For output parameters, this is the file format that will be assigned to
372-
the output parameter.
373-
374352
- name: streamable
375353
type: boolean?
376354
doc: |
@@ -554,6 +532,26 @@ $graph:
554532
jsonldPredicate: "@id"
555533
doc: "The unique identifier for this parameter object."
556534

535+
- name: format
536+
type:
537+
- "null"
538+
- string
539+
- type: array
540+
items: string
541+
- Expression
542+
jsonldPredicate:
543+
_id: cwl:format
544+
_type: "@id"
545+
identity: true
546+
doc: |
547+
Only valid when `type: File` or is an array of `items: File`.
548+
549+
This must be one or more IRIs of concept nodes
550+
that represents file formats which are allowed as input to this
551+
parameter, preferrably defined within an ontology. If no ontology is
552+
available, file formats may be tested by exact match.
553+
554+
557555
- name: inputBinding
558556
type: InputBinding?
559557
jsonldPredicate: "cwl:inputBinding"
@@ -608,6 +606,21 @@ $graph:
608606
jsonldPredicate: "cwl:outputBinding"
609607
doc: |
610608
Describes how to handle the outputs of a process.
609+
- name: format
610+
type:
611+
- "null"
612+
- string
613+
- Expression
614+
jsonldPredicate:
615+
_id: cwl:format
616+
_type: "@id"
617+
identity: true
618+
doc: |
619+
Only valid when `type: File` or is an array of `items: File`.
620+
621+
This is the file format that will be assigned to
622+
the output parameter.
623+
611624
612625
613626
- type: record

0 commit comments

Comments
 (0)