[ARVADOS] updated: fea486f94bb5cc8f51d9563eafc172b6ba2aec57
Git user
git at public.curoverse.com
Mon May 1 12:43:09 EDT 2017
Summary of changes:
sdk/cwl/arvados_cwl/crunch_script.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via fea486f94bb5cc8f51d9563eafc172b6ba2aec57 (commit)
from e56ae6aad06c37d5512537047871d7363dd97620 (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 fea486f94bb5cc8f51d9563eafc172b6ba2aec57
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Mon May 1 10:36:44 2017 -0400
Crunch script doesn't fail in file/directory literals that don't have a 'location'. refs #11549
diff --git a/sdk/cwl/arvados_cwl/crunch_script.py b/sdk/cwl/arvados_cwl/crunch_script.py
index 9ea4824..65ef508 100644
--- a/sdk/cwl/arvados_cwl/crunch_script.py
+++ b/sdk/cwl/arvados_cwl/crunch_script.py
@@ -52,7 +52,8 @@ def run():
return v
def keeppathObj(v):
- v["location"] = keeppath(v["location"])
+ if "location" in v:
+ v["location"] = keeppath(v["location"])
for k,v in job_order_object.items():
if isinstance(v, basestring) and arvados.util.keep_locator_pattern.match(v):
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list