[ARVADOS] updated: 1.3.0-5-g4ee75c533

Git user git at public.curoverse.com
Fri Dec 7 14:56:21 EST 2018


Summary of changes:
 sdk/cwl/arvados_cwl/arvjob.py   | 8 +++++---
 sdk/cwl/arvados_cwl/executor.py | 3 ++-
 2 files changed, 7 insertions(+), 4 deletions(-)

       via  4ee75c533a4f01c65c452adff52984884f5877a7 (commit)
      from  f2b37ad61f90ca600669d864e140e30ba834fc2b (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 4ee75c533a4f01c65c452adff52984884f5877a7
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Fri Dec 7 14:55:55 2018 -0500

    14476: Fix RunnerTemplate
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/sdk/cwl/arvados_cwl/arvjob.py b/sdk/cwl/arvados_cwl/arvjob.py
index c6616c987..2e4ef5501 100644
--- a/sdk/cwl/arvados_cwl/arvjob.py
+++ b/sdk/cwl/arvados_cwl/arvjob.py
@@ -386,19 +386,21 @@ class RunnerTemplate(object):
     }
 
     def __init__(self, runner, tool, job_order, enable_reuse, uuid,
-                 submit_runner_ram=0, name=None, merged_map=None):
+                 submit_runner_ram=0, name=None, merged_map=None,
+                 loadingContext=None):
         self.runner = runner
         self.embedded_tool = tool
         self.job = RunnerJob(
             runner=runner,
             tool=tool,
-            job_order=job_order,
             enable_reuse=enable_reuse,
             output_name=None,
             output_tags=None,
             submit_runner_ram=submit_runner_ram,
             name=name,
-            merged_map=merged_map)
+            merged_map=merged_map,
+            loadingContext=loadingContext)
+        self.job.job_order = job_order
         self.uuid = uuid
 
     def pipeline_component_spec(self):
diff --git a/sdk/cwl/arvados_cwl/executor.py b/sdk/cwl/arvados_cwl/executor.py
index 8eeb95117..195eda695 100644
--- a/sdk/cwl/arvados_cwl/executor.py
+++ b/sdk/cwl/arvados_cwl/executor.py
@@ -559,7 +559,8 @@ http://doc.arvados.org/install/install-api-server.html#disable_api_methods
                                       uuid=existing_uuid,
                                       submit_runner_ram=runtimeContext.submit_runner_ram,
                                       name=runtimeContext.name,
-                                      merged_map=merged_map)
+                                      merged_map=merged_map,
+                                      loadingContext=loadingContext)
                 tmpl.save()
                 # cwltool.main will write our return value to stdout.
                 return (tmpl.uuid, "success")

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list