@@ -180,10 +180,12 @@ $graph:
180
180
fields :
181
181
- name : position
182
182
type : [ "null", int, Expression ]
183
+ default : 0
183
184
doc : |
184
- The sorting key. Default position is 0. If the inputBinding is
185
- associated with an input parameter, then the value of `self` in the
186
- expression will be the value of the input parameter. Input parameter
185
+ The sorting key. Default position is 0. If a [CWL Parameter Reference](#Parameter_references)
186
+ or [CWL Expression](#Expressions_(Optional)) is used and if the
187
+ inputBinding is associated with an input parameter, then the value of
188
+ `self` will be the value of the input parameter. Input parameter
187
189
defaults (as specified by the `InputParameter.default` field) must be
188
190
applied before evaluating the expression. Expressions must return a
189
191
single value of type int or a null.
@@ -1165,6 +1167,10 @@ $graph:
1165
1167
" _type " : " @vocab"
1166
1168
- name : coresMin
1167
1169
type : ["null", long, float, Expression]
1170
+ # default: 1
1171
+ # Don't set the default here, we need to be able to distinguish between
1172
+ # a value not provided and the textual default to be able to implement
1173
+ # the rules written in the ResourceRequirement doc above
1168
1174
doc : |
1169
1175
Minimum reserved number of CPU cores (default is 1).
1170
1176
@@ -1201,6 +1207,12 @@ $graph:
1201
1207
1202
1208
- name : ramMin
1203
1209
type : ["null", long, float, Expression]
1210
+ # default: 256
1211
+ # Don't set the default here, we need to be able to distinguish between
1212
+ # a value not provided and the textual default to be able to implement
1213
+ # the rules written in the ResourceRequirement doc above.
1214
+ # Consumers of ResourceRequirement must apply the default value algorithm
1215
+ # themselves and not rely on schema-salad rules
1204
1216
doc : |
1205
1217
Minimum reserved RAM in mebibytes (2**20) (default is 256)
1206
1218
@@ -1219,6 +1231,12 @@ $graph:
1219
1231
1220
1232
- name : tmpdirMin
1221
1233
type : ["null", long, float, Expression]
1234
+ # default: 1024
1235
+ # Don't set the default here, we need to be able to distinguish between
1236
+ # a value not provided and the textual default to be able to implement
1237
+ # the rules written in the ResourceRequirement doc above
1238
+ # Consumers of ResourceRequirement must apply the default value algorithm
1239
+ # themselves and not rely on schema-salad rules
1222
1240
doc : |
1223
1241
Minimum reserved filesystem based storage for the designated temporary directory, in mebibytes (2**20) (default is 1024)
1224
1242
@@ -1237,6 +1255,12 @@ $graph:
1237
1255
1238
1256
- name : outdirMin
1239
1257
type : ["null", long, float, Expression]
1258
+ # default: 1024
1259
+ # Don't set the default here, we need to be able to distinguish between
1260
+ # a value not provided and the textual default to be able to implement
1261
+ # the rules written in the ResourceRequirement doc above
1262
+ # Consumers of ResourceRequirement must apply the default value algorithm
1263
+ # themselves and not rely on schema-salad rules
1240
1264
doc : |
1241
1265
Minimum reserved filesystem based storage for the designated output directory, in mebibytes (2**20) (default is 1024)
1242
1266
0 commit comments