Skip to content

Commit 2feb6f8

Browse files
tetronmr-c
authored andcommitted
Update for subscope and __eq__ support
1 parent a56a0ad commit 2feb6f8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

cwl_utils/parser/cwl_v1_1.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13520,11 +13520,13 @@ def fromDoc(
1352013520
)
1352113521
else:
1352213522
hints = None
13523+
13524+
subscope_baseuri = expand_url('run', baseuri, loadingOptions, True)
1352313525
try:
1352413526
run = load_field(
1352513527
_doc.get("run"),
1352613528
uri_union_of_strtype_or_CommandLineToolLoader_or_ExpressionToolLoader_or_WorkflowLoader_False_False_None,
13527-
baseuri,
13529+
subscope_baseuri,
1352813530
loadingOptions,
1352913531
)
1353013532
except ValidationException as e:

cwl_utils/parser/cwl_v1_2.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13763,11 +13763,13 @@ def fromDoc(
1376313763
)
1376413764
else:
1376513765
hints = None
13766+
13767+
subscope_baseuri = expand_url('run', baseuri, loadingOptions, True)
1376613768
try:
1376713769
run = load_field(
1376813770
_doc.get("run"),
1376913771
uri_union_of_strtype_or_CommandLineToolLoader_or_ExpressionToolLoader_or_WorkflowLoader_or_OperationLoader_False_False_None,
13770-
baseuri,
13772+
subscope_baseuri,
1377113773
loadingOptions,
1377213774
)
1377313775
except ValidationException as e:

0 commit comments

Comments
 (0)