[ARVADOS] updated: 0d4726056080f8c865135e0f576ccc15d4f388b9
Git user
git at public.curoverse.com
Fri Jul 15 09:52:05 EDT 2016
Summary of changes:
sdk/cwl/arvados_cwl/__init__.py | 3 +++
1 file changed, 3 insertions(+)
via 0d4726056080f8c865135e0f576ccc15d4f388b9 (commit)
from 72f92ad04b77bf781f27ff355b4cc91d7f36ec0f (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 0d4726056080f8c865135e0f576ccc15d4f388b9
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Fri Jul 15 09:52:02 2016 -0400
9570: Raise exception on workflow failure.
diff --git a/sdk/cwl/arvados_cwl/__init__.py b/sdk/cwl/arvados_cwl/__init__.py
index 61736cc..cf96880 100644
--- a/sdk/cwl/arvados_cwl/__init__.py
+++ b/sdk/cwl/arvados_cwl/__init__.py
@@ -215,6 +215,9 @@ class ArvCwlRunner(object):
if self.final_status == "UnsupportedRequirement":
raise UnsupportedRequirement("Check log for details.")
+ if self.final_status != "success":
+ raise WorkflowException("Workflow failed.")
+
if self.final_output is None:
raise WorkflowException("Workflow did not return a result.")
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list