[arvados] updated: 2.7.0-4963-g407ea7b545

git repository hosting git at public.arvados.org
Thu Oct 19 18:43:45 UTC 2023


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

       via  407ea7b545e9529afe12503635e09cad23a96060 (commit)
      from  df566fda61e84d8d99ac133ecc3dbc8726dff40f (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 407ea7b545e9529afe12503635e09cad23a96060
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Thu Oct 19 14:43:28 2023 -0400

    20825: Raise WorkflowException instead of plain Exception
    
    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 aa9fa1e903..8a58066c19 100644
--- a/sdk/cwl/arvados_cwl/arvcontainer.py
+++ b/sdk/cwl/arvados_cwl/arvcontainer.py
@@ -612,7 +612,7 @@ class RunnerContainer(Runner):
             }
             container_req["properties"]["template_uuid"] = self.embedded_tool.tool["id"][6:33]
         elif self.embedded_tool.tool.get("id", "").startswith("file:"):
-            raise Exception("Tool id '%s' is a local file but expected keep: or arvwf:" % self.embedded_tool.tool.get("id"))
+            raise WorkflowException("Tool id '%s' is a local file but expected keep: or arvwf:" % self.embedded_tool.tool.get("id"))
         else:
             main = self.loadingContext.loader.idx["_:main"]
             if main.get("id") == "_:main":

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list