Skip to content

Commit e1f3531

Browse files
committed
refresh with latest schema-salad
1 parent 967d73e commit e1f3531

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

cwl_utils/parser/cwl_v1_0.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Type,
2323
Union,
2424
)
25-
from urllib.parse import quote, urlsplit, urlunsplit, urlparse
25+
from urllib.parse import quote, urlparse, urlsplit, urlunsplit
2626
from urllib.request import pathname2url
2727

2828
from ruamel.yaml.comments import CommentedMap
@@ -11489,6 +11489,13 @@ def save(
1148911489
)
1149011490
CWLTypeLoader = _EnumLoader(
1149111491
(
11492+
"null",
11493+
"boolean",
11494+
"int",
11495+
"long",
11496+
"float",
11497+
"double",
11498+
"string",
1149211499
"File",
1149311500
"Directory",
1149411501
)

cwl_utils/parser/cwl_v1_1.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Type,
2323
Union,
2424
)
25-
from urllib.parse import quote, urlsplit, urlunsplit, urlparse
25+
from urllib.parse import quote, urlparse, urlsplit, urlunsplit
2626
from urllib.request import pathname2url
2727

2828
from ruamel.yaml.comments import CommentedMap
@@ -13288,6 +13288,13 @@ def save(
1328813288
)
1328913289
CWLTypeLoader = _EnumLoader(
1329013290
(
13291+
"null",
13292+
"boolean",
13293+
"int",
13294+
"long",
13295+
"float",
13296+
"double",
13297+
"string",
1329113298
"File",
1329213299
"Directory",
1329313300
)

cwl_utils/parser/cwl_v1_2.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Type,
2323
Union,
2424
)
25-
from urllib.parse import quote, urlsplit, urlunsplit, urlparse
25+
from urllib.parse import quote, urlparse, urlsplit, urlunsplit
2626
from urllib.request import pathname2url
2727

2828
from ruamel.yaml.comments import CommentedMap
@@ -9027,7 +9027,7 @@ def save(
90279027
class InitialWorkDirRequirement(ProcessRequirement):
90289028
"""
90299029
Define a list of files and subdirectories that must be staged by the workflow platform prior to executing the command line tool.
9030-
Normally files are staged within the designated output directory. However, when running inside containers, files may be staged at arbitrary locations, see discussion for `Dirent.entryname`. Together with `DockerRequirement.dockerOutputDirectory` this it possible to control the locations of both input and output files when running in containers.
9030+
Normally files are staged within the designated output directory. However, when running inside containers, files may be staged at arbitrary locations, see discussion for [`Dirent.entryname`](#Dirent). Together with `DockerRequirement.dockerOutputDirectory` it is possible to control the locations of both input and output files when running in containers.
90319031
"""
90329032

90339033
def __init__(
@@ -9244,8 +9244,8 @@ def save(
92449244
class ShellCommandRequirement(ProcessRequirement):
92459245
"""
92469246
Modify the behavior of CommandLineTool to generate a single string
9247-
containing a shell command line. Each item in the argument list must be
9248-
joined into a string separated by single spaces and quoted to prevent
9247+
containing a shell command line. Each item in the `arguments` list must
9248+
be joined into a string separated by single spaces and quoted to prevent
92499249
intepretation by the shell, unless `CommandLineBinding` for that argument
92509250
contains `shellQuote: false`. If `shellQuote: false` is specified, the
92519251
argument is joined into the command string without quoting, which allows
@@ -14571,6 +14571,13 @@ def save(
1457114571
)
1457214572
CWLTypeLoader = _EnumLoader(
1457314573
(
14574+
"null",
14575+
"boolean",
14576+
"int",
14577+
"long",
14578+
"float",
14579+
"double",
14580+
"string",
1457414581
"File",
1457514582
"Directory",
1457614583
)

0 commit comments

Comments
 (0)