Skip to content

Commit 3fd4594

Browse files
committed
Allow overrides using reqs from CWL v1.1+
1 parent 72e4ffb commit 3fd4594

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwltool/load_tool.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
from .errors import GraphTargetMissingException
4040
from .loghandler import _logger
4141
from .process import Process, get_schema, shortname
42-
from .update import ALLUPDATES
42+
from .update import ALLUPDATES, INTERNAL_VERSION
4343
from .utils import CWLObjectType, ResolverType, visit_class
4444

4545
jobloaderctx = {
@@ -650,7 +650,7 @@ def resolve_overrides(
650650
ret, _ = ovloader.resolve_all(ov, baseurl)
651651
if not isinstance(ret, CommentedMap):
652652
raise Exception("Expected CommentedMap, got %s" % type(ret))
653-
cwl_docloader = get_schema("v1.0")[0]
653+
cwl_docloader = get_schema(INTERNAL_VERSION)[0]
654654
cwl_docloader.resolve_all(ret, ov_uri)
655655
return cast(List[CWLObjectType], ret["http://commonwl.org/cwltool#overrides"])
656656

0 commit comments

Comments
 (0)