[ARVADOS] updated: 4695df7994cc54765681ac1f97111dbc065fadaf

Git user git at public.curoverse.com
Thu Jan 5 15:30:06 EST 2017


Summary of changes:
 sdk/cwl/arvados_cwl/__init__.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  4695df7994cc54765681ac1f97111dbc065fadaf (commit)
      from  e33f8c3fe2bd7b9d4d4f63540d38cd9732b7f854 (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 4695df7994cc54765681ac1f97111dbc065fadaf
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Jan 5 15:29:57 2017 -0500

    10793: Fix to return tuple for alternate exit points --create/update-workflow and --no-wait

diff --git a/sdk/cwl/arvados_cwl/__init__.py b/sdk/cwl/arvados_cwl/__init__.py
index 4288c16..3ffc4c7 100644
--- a/sdk/cwl/arvados_cwl/__init__.py
+++ b/sdk/cwl/arvados_cwl/__init__.py
@@ -344,13 +344,13 @@ class ArvCwlRunner(object):
                                       name=kwargs.get("name"))
                 tmpl.save()
                 # cwltool.main will write our return value to stdout.
-                return tmpl.uuid
+                return (tmpl.uuid, "success")
             else:
-                return upload_workflow(self, tool, job_order,
+                return (upload_workflow(self, tool, job_order,
                                        self.project_uuid,
                                        uuid=existing_uuid,
                                        submit_runner_ram=kwargs.get("submit_runner_ram"),
-                                       name=kwargs.get("name"))
+                                        name=kwargs.get("name")), "success")
 
         self.ignore_docker_for_reuse = kwargs.get("ignore_docker_for_reuse")
 
@@ -404,7 +404,7 @@ class ArvCwlRunner(object):
 
         if runnerjob and not kwargs.get("wait"):
             runnerjob.run(wait=kwargs.get("wait"))
-            return runnerjob.uuid
+            return (runnerjob.uuid, "success")
 
         self.poll_api = arvados.api('v1')
         self.polling_thread = threading.Thread(target=self.poll_states)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list