@@ -57,8 +57,8 @@ $graph:
57
57
* When defining record types with `CommandInputRecordSchema`, fields of
58
58
type `File` may now include `format`, `loadContents`,
59
59
`secondaryFiles` and `streamable`.
60
- * `CommandInputRecordSchema`, `CommandOutputRecordSchema`,
61
- `CommandInputEnumSchema and `CommandInputArraySchema` now have an optional
60
+ * `CommandInputRecordSchema`, `CommandOutputRecordSchema`,
61
+ `CommandInputEnumSchema and `CommandInputArraySchema` now have an optional
62
62
`doc` field.
63
63
* `inputBinding` has been added as an optional field for
64
64
`CommandInputRecordSchema` (was previously in CWL `draft-3` but
@@ -114,6 +114,12 @@ $graph:
114
114
* [Made explicit](#Generic_execution_process) that the `$namespaces` of
115
115
the top level CWL document are also available to the input object as
116
116
well.
117
+ * Fields with type "Expression" no longer include "string" in
118
+ the type union unless a string is semantically valid. Where
119
+ a bare string is not semantically valid, these fields must
120
+ contain either a non-string value accepted by the field
121
+ type, or a valid expression which returns a value having one
122
+ of the the other types defined for that field.
117
123
118
124
See also the [CWL Workflow Description, v1.1.0-dev1 changelog](Workflow.html#Changelog).
119
125
@@ -211,7 +217,7 @@ $graph:
211
217
212
218
fields :
213
219
- name : position
214
- type : [ int, Expression, string, "null" ]
220
+ type : [ "null", int, Expression ]
215
221
doc : |
216
222
The sorting key. Default position is 0. If the inputBinding is
217
223
associated with an input parameter, then the value of `self` in the
@@ -331,10 +337,7 @@ $graph:
331
337
container filesystem except for declared input and output.
332
338
333
339
- name : outputEval
334
- type :
335
- - " null"
336
- - string
337
- - Expression
340
+ type : Expression?
338
341
doc : |
339
342
Evaluate an expression to generate the output value. If
340
343
`glob` was specified, the value of `self` must be an array
@@ -990,9 +993,7 @@ $graph:
990
993
- Directory
991
994
- Directory
992
995
- Dirent
993
- - string
994
996
- Expression
995
- - string
996
997
- Expression
997
998
jsonldPredicate :
998
999
_id : " cwl:listing"
@@ -1085,35 +1086,35 @@ $graph:
1085
1086
" _id " : " @type"
1086
1087
" _type " : " @vocab"
1087
1088
- name : coresMin
1088
- type : ["null", long, string, Expression]
1089
+ type : ["null", long, Expression]
1089
1090
doc : Minimum reserved number of CPU cores (default is 1)
1090
1091
1091
1092
- name : coresMax
1092
- type : ["null", int, string, Expression]
1093
+ type : ["null", int, Expression]
1093
1094
doc : Maximum reserved number of CPU cores
1094
1095
1095
1096
- name : ramMin
1096
- type : ["null", long, string, Expression]
1097
+ type : ["null", long, Expression]
1097
1098
doc : Minimum reserved RAM in mebibytes (2**20) (default is 256)
1098
1099
1099
1100
- name : ramMax
1100
- type : ["null", long, string, Expression]
1101
+ type : ["null", long, Expression]
1101
1102
doc : Maximum reserved RAM in mebibytes (2**20)
1102
1103
1103
1104
- name : tmpdirMin
1104
- type : ["null", long, string, Expression]
1105
+ type : ["null", long, Expression]
1105
1106
doc : Minimum reserved filesystem based storage for the designated temporary directory, in mebibytes (2**20) (default is 1024)
1106
1107
1107
1108
- name : tmpdirMax
1108
- type : ["null", long, string, Expression]
1109
+ type : ["null", long, Expression]
1109
1110
doc : Maximum reserved filesystem based storage for the designated temporary directory, in mebibytes (2**20)
1110
1111
1111
1112
- name : outdirMin
1112
- type : ["null", long, string, Expression]
1113
+ type : ["null", long, Expression]
1113
1114
doc : Minimum reserved filesystem based storage for the designated output directory, in mebibytes (2**20) (default is 1024)
1114
1115
1115
1116
- name : outdirMax
1116
- type : ["null", long, string, Expression]
1117
+ type : ["null", long, Expression]
1117
1118
doc : Maximum reserved filesystem based storage for the designated output directory, in mebibytes (2**20)
1118
1119
1119
1120
@@ -1138,7 +1139,7 @@ $graph:
1138
1139
" _id " : " @type"
1139
1140
" _type " : " @vocab"
1140
1141
- name : enableReuse
1141
- type : [boolean, string, Expression]
1142
+ type : [boolean, Expression]
1142
1143
default : true
1143
1144
1144
1145
@@ -1170,7 +1171,7 @@ $graph:
1170
1171
" _id " : " @type"
1171
1172
" _type " : " @vocab"
1172
1173
- name : networkAccess
1173
- type : [boolean, string, Expression]
1174
+ type : [boolean, Expression]
1174
1175
1175
1176
- name : InplaceUpdateRequirement
1176
1177
type : record
@@ -1236,7 +1237,7 @@ $graph:
1236
1237
" _id " : " @type"
1237
1238
" _type " : " @vocab"
1238
1239
- name : timelimit
1239
- type : [long, string, Expression]
1240
+ type : [long, Expression]
1240
1241
doc : |
1241
1242
The time limit, in seconds. A time limit of zero means no
1242
1243
time limit. Negative time limits are an error.
0 commit comments