[ARVADOS] updated: b0e7987af4ac6ae6ea3250e9dafa4ecf58544770

Git user git at public.curoverse.com
Tue Jun 7 16:24:10 EDT 2016


Summary of changes:
 sdk/cwl/arvados_cwl/__init__.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

       via  b0e7987af4ac6ae6ea3250e9dafa4ecf58544770 (commit)
      from  18db9a81749b63725ff2a5a13a11442cdd054ad9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit b0e7987af4ac6ae6ea3250e9dafa4ecf58544770
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Tue Jun 7 16:17:49 2016 -0400

    9275: Initial pipeline/job component update from response

diff --git a/sdk/cwl/arvados_cwl/__init__.py b/sdk/cwl/arvados_cwl/__init__.py
index f2b38da..adf9372 100644
--- a/sdk/cwl/arvados_cwl/__init__.py
+++ b/sdk/cwl/arvados_cwl/__init__.py
@@ -194,11 +194,7 @@ class ArvadosJob(object):
 
             self.arvrunner.jobs[response["uuid"]] = self
 
-            self.arvrunner.pipeline["components"][self.name] = {"job": response}
-            self.arvrunner.pipeline = self.arvrunner.api.pipeline_instances().update(uuid=self.arvrunner.pipeline["uuid"],
-                                                                                     body={
-                                                                                         "components": self.arvrunner.pipeline["components"]
-                                                                                     }).execute(num_retries=self.arvrunner.num_retries)
+            self.update_pipeline_component(response)
 
             logger.info("Job %s (%s) is %s", self.name, response["uuid"], response["state"])
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list