Skip to content

Commit 4e79189

Browse files
tetronmr-c
authored andcommitted
Make networkAccess, envDef and initialWorkDir optional
1 parent 8cac90e commit 4e79189

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CommandLineTool.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ $graph:
726726
If not specified, all exit codes except 0 are considered permanent failure.
727727

728728
- name: networkAccess
729-
type: [boolean, Expression]
729+
type: ['null', boolean, Expression]
730730
jsonldPredicate: "cwl:NetworkAccess/networkAccess"
731731
doc: |
732732
Indicate whether a process requires outgoing IPv4/IPv6 network
@@ -747,6 +747,7 @@ $graph:
747747
748748
- name: initialWorkDir
749749
type:
750+
- 'null'
750751
- Expression
751752
- type: array
752753
items:
@@ -801,7 +802,7 @@ $graph:
801802
output directory.
802803
803804
- name: envDef
804-
type: EnvironmentDef[]
805+
type: EnvironmentDef[]?
805806
doc: |
806807
Define a list of environment variables which will be set in
807808
the execution environment of the tool. See

0 commit comments

Comments
 (0)