[ARVADOS] updated: 2.1.0-1422-g5898e36e5

Git user git at public.arvados.org
Fri Oct 1 20:31:27 UTC 2021


Summary of changes:
 sdk/cwl/arvados_cwl/arvcontainer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  5898e36e5edc2850f3bf5ee4667676e37239c710 (commit)
      from  01d3af33556013452117fceeda31bc29afd940cd (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 5898e36e5edc2850f3bf5ee4667676e37239c710
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Fri Oct 1 16:31:06 2021 -0400

    18238: Fix API revision check
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/sdk/cwl/arvados_cwl/arvcontainer.py b/sdk/cwl/arvados_cwl/arvcontainer.py
index 165cbcf18..560e8979e 100644
--- a/sdk/cwl/arvados_cwl/arvcontainer.py
+++ b/sdk/cwl/arvados_cwl/arvcontainer.py
@@ -284,7 +284,7 @@ class ArvadosContainer(JobBase):
             raise WorkflowException("Invalid value %d for output_ttl, cannot be less than zero" % container_request["output_ttl"])
 
 
-        if api._rootDesc["revision"] >= "20210628":
+        if self.arvrunner.api._rootDesc["revision"] >= "20210628":
             storage_class_req, _ = self.get_requirement("http://arvados.org/cwl#OutputStorageClass")
             if storage_class_req and storage_class_req.get("intermediateStorageClass"):
                 container_request["output_storage_classes"] = aslist(storage_class_req["intermediateStorageClass"])

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list