Skip to content

Commit a05d682

Browse files
committed
Use runtimeContext.research_obj, not ro
as 'ro' would not be initiallized without --provenance
1 parent 2776f9f commit a05d682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def formatTime(self, record, datefmt=None):
568568
loadingContext = LoadingContext(vars(args))
569569
else:
570570
loadingContext = loadingContext.copy()
571-
loadingContext.research_obj = ro
571+
loadingContext.research_obj = runtimeContext.research_obj
572572
loadingContext.disable_js_validation = \
573573
args.disable_js_validation or (not args.do_validate)
574574
loadingContext.construct_tool_object = getdefault(

0 commit comments

Comments
 (0)