8654: Job has uuid and state fields
authorPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 21 Mar 2016 21:05:08 +0000 (17:05 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 21 Mar 2016 21:05:08 +0000 (17:05 -0400)
crunch_scripts/cwl-runner

index 05be46a69e8e7d7394ecb7c002156eaaef04f7be..80995f33bef48a3e4fdab06bff63b5a4c7e62342 100755 (executable)
@@ -37,7 +37,7 @@ try:
     np.enable_reuse = True
     np.submit = False
     np.debug = True
-    outputObj = runner.arvExecutor(t, job_order_object, "", np, cwl_runner_job=arvados.current_job())
+    outputObj = runner.arvExecutor(t, job_order_object, "", np, cwl_runner_job={"uuid": arvados.current_job()["uuid"], "state": arvados.current_job()["state"]})
 
     files = {}
     def capture(path):