Skip to content

Commit f44d7c3

Browse files
committed
explicitly allow an int where we allow a long
1 parent 4e7b6bd commit f44d7c3

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

CommandLineTool.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ $graph:
11661166
"_id": "@type"
11671167
"_type": "@vocab"
11681168
- name: coresMin
1169-
type: ["null", long, float, Expression]
1169+
type: ["null", int, long, float, Expression]
11701170
# default: 1
11711171
# Don't set the default here, we need to be able to distinguish between
11721172
# a value not provided and the textual default to be able to implement
@@ -1199,14 +1199,14 @@ $graph:
11991199
next whole number.
12001200
12011201
- name: coresMax
1202-
type: ["null", long, float, Expression]
1202+
type: ["null", int, long, float, Expression]
12031203
doc: |
12041204
Maximum reserved number of CPU cores.
12051205
12061206
See `coresMin` for discussion about fractional CPU requests.
12071207
12081208
- name: ramMin
1209-
type: ["null", long, float, Expression]
1209+
type: ["null", int, long, float, Expression]
12101210
# default: 256
12111211
# Don't set the default here, we need to be able to distinguish between
12121212
# a value not provided and the textual default to be able to implement
@@ -1223,14 +1223,14 @@ $graph:
12231223
non-zero integer.
12241224
12251225
- name: ramMax
1226-
type: ["null", long, float, Expression]
1226+
type: ["null", int, long, float, Expression]
12271227
doc: |
12281228
Maximum reserved RAM in mebibytes (2**20)
12291229
12301230
See `ramMin` for discussion about fractional RAM requests.
12311231
12321232
- name: tmpdirMin
1233-
type: ["null", long, float, Expression]
1233+
type: ["null", int, long, float, Expression]
12341234
# default: 1024
12351235
# Don't set the default here, we need to be able to distinguish between
12361236
# a value not provided and the textual default to be able to implement
@@ -1247,14 +1247,14 @@ $graph:
12471247
must be a non-zero integer.
12481248
12491249
- name: tmpdirMax
1250-
type: ["null", long, float, Expression]
1250+
type: ["null", int, long, float, Expression]
12511251
doc: |
12521252
Maximum reserved filesystem based storage for the designated temporary directory, in mebibytes (2**20)
12531253
12541254
See `tmpdirMin` for discussion about fractional storage requests.
12551255
12561256
- name: outdirMin
1257-
type: ["null", long, float, Expression]
1257+
type: ["null", int, long, float, Expression]
12581258
# default: 1024
12591259
# Don't set the default here, we need to be able to distinguish between
12601260
# a value not provided and the textual default to be able to implement
@@ -1271,7 +1271,7 @@ $graph:
12711271
must be a non-zero integer.
12721272
12731273
- name: outdirMax
1274-
type: ["null", long, float, Expression]
1274+
type: ["null", int, long, float, Expression]
12751275
doc: |
12761276
Maximum reserved filesystem based storage for the designated output directory, in mebibytes (2**20)
12771277
@@ -1413,7 +1413,7 @@ $graph:
14131413
"_id": "@type"
14141414
"_type": "@vocab"
14151415
- name: timelimit
1416-
type: [long, Expression]
1416+
type: [int, long, Expression]
14171417
doc: |
14181418
The time limit, in seconds. A time limit of zero means no
14191419
time limit. Negative time limits are an error.

Process.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,10 @@ $graph:
238238
Optional hash code for validating file integrity. Currently must be in the form
239239
"sha1$ + hexadecimal string" using the SHA-1 algorithm.
240240
- name: size
241-
type: long?
241+
type:
242+
- "null"
243+
- int
244+
- long
242245
doc: Optional file size
243246
- name: "secondaryFiles"
244247
type:

0 commit comments

Comments
 (0)