Skip to content

Commit 4617415

Browse files
authored
Merge pull request #834 from common-workflow-language/print-input-output-object-for-workflow
Print input and output objects for workflow when debugging
2 parents 8cf4b14 + fb955b6 commit 4617415

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cwltool/workflow.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ def do_output_callback(self, final_output_callback):
253253
datetime.datetime.now())
254254
self.prov_obj.finalize_prov_profile(str(self.name))
255255
_logger.info(u"[%s] completed %s", self.name, self.processStatus)
256+
_logger.debug(u"[%s] %s", self.name, json_dumps(wo, indent=4))
256257

257258
self.did_callback = True
258259

@@ -413,6 +414,9 @@ def job(self,
413414
self.state = {}
414415
self.processStatus = "success"
415416

417+
_logger.debug(u"[%s] %s", self.name, json_dumps(joborder,
418+
indent=4))
419+
416420
runtimeContext = runtimeContext.copy()
417421
runtimeContext.outdir = None
418422

0 commit comments

Comments
 (0)