Skip to content

Commit 39c5c18

Browse files
authored
Added explicit defaults for ResourceRequirements
Finishes common-workflow-language/cwltool#1038
1 parent c0a934a commit 39c5c18

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

CommandLineTool.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ $graph:
110110
`outputs` field was incorrectly listed as optional.
111111
* For multi-Process CWL documents, if no particular process is named then
112112
the process with the `id` of `#main` is chosen.
113+
* Added explicit defaults for [ResourceRequirement](#ResourceRequirement)s.
113114
114115
See also the [CWL Workflow Description, v1.1.0-dev1 changelog](Workflow.html#Changelog).
115116
@@ -1071,7 +1072,7 @@ $graph:
10711072
10721073
It is an error if the value of any of these fields is negative.
10731074
1074-
If neither "min" nor "max" is specified for a resource, an implementation may provide a default.
1075+
If neither "min" nor "max" is specified for a resource, use the default values below.
10751076
10761077
fields:
10771078
- name: class
@@ -1082,31 +1083,31 @@ $graph:
10821083
"_type": "@vocab"
10831084
- name: coresMin
10841085
type: ["null", long, string, Expression]
1085-
doc: Minimum reserved number of CPU cores
1086+
doc: Minimum reserved number of CPU cores (default is 1)
10861087

10871088
- name: coresMax
10881089
type: ["null", int, string, Expression]
10891090
doc: Maximum reserved number of CPU cores
10901091

10911092
- name: ramMin
10921093
type: ["null", long, string, Expression]
1093-
doc: Minimum reserved RAM in mebibytes (2**20)
1094+
doc: Minimum reserved RAM in mebibytes (2**20) (default is 256)
10941095

10951096
- name: ramMax
10961097
type: ["null", long, string, Expression]
10971098
doc: Maximum reserved RAM in mebibytes (2**20)
10981099

10991100
- name: tmpdirMin
11001101
type: ["null", long, string, Expression]
1101-
doc: Minimum reserved filesystem based storage for the designated temporary directory, in mebibytes (2**20)
1102+
doc: Minimum reserved filesystem based storage for the designated temporary directory, in mebibytes (2**20) (default is 1024)
11021103

11031104
- name: tmpdirMax
11041105
type: ["null", long, string, Expression]
11051106
doc: Maximum reserved filesystem based storage for the designated temporary directory, in mebibytes (2**20)
11061107

11071108
- name: outdirMin
11081109
type: ["null", long, string, Expression]
1109-
doc: Minimum reserved filesystem based storage for the designated output directory, in mebibytes (2**20)
1110+
doc: Minimum reserved filesystem based storage for the designated output directory, in mebibytes (2**20) (default is 1024)
11101111

11111112
- name: outdirMax
11121113
type: ["null", long, string, Expression]

0 commit comments

Comments
 (0)