[arvados] created: 2.7.0-6021-g2bb279c943

git repository hosting git at public.arvados.org
Tue Feb 20 14:51:43 UTC 2024


        at  2bb279c9433061df9f5c46353a12f163d0d9d918 (commit)


commit 2bb279c9433061df9f5c46353a12f163d0d9d918
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Tue Feb 20 09:50:55 2024 -0500

    21531: Can access output parameters of the toplevel workflow
    
    Needs to be implemented for lower level workflows.
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/sdk/cwl/arvados_cwl/executor.py b/sdk/cwl/arvados_cwl/executor.py
index 2db6a9bfe2..1e6939828d 100644
--- a/sdk/cwl/arvados_cwl/executor.py
+++ b/sdk/cwl/arvados_cwl/executor.py
@@ -947,7 +947,7 @@ The 'jobs' API is no longer supported.
             if output_properties_req:
                 builder = make_builder(job_order, tool.hints, tool.requirements, runtimeContext, tool.metadata)
                 for pr in output_properties_req["outputProperties"]:
-                    output_properties[pr["propertyName"]] = builder.do_eval(pr["propertyValue"])
+                    output_properties[pr["propertyName"]] = builder.do_eval(pr["propertyValue"], context=self.final_output)
 
             self.final_output, self.final_output_collection = self.make_output_collection(self.output_name, storage_classes,
                                                                                           self.output_tags, output_properties,

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list