Skip to content

Commit 11e45ba

Browse files
committed
Ensure runtimeContext.research_obj is set!
1 parent 6db3c4b commit 11e45ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cwltool/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ def main(argsl=None, # type: List[str]
550550
ro = ResearchObject(
551551
temp_prefix_ro=args.tmpdir_prefix, orcid=args.orcid,
552552
full_name=args.cwl_full_name)
553+
runtimeContext.research_obj = ro
553554
log_file_io = ro.open_log_file_for_activity(ro.engine_uuid)
554555
prov_log_handler = logging.StreamHandler(log_file_io)
555556
class ProvLogFormatter(logging.Formatter):

0 commit comments

Comments
 (0)