[ARVADOS] created: 8266a4cc54cfebf871d685a1a351362f7992235d
Git user
git at public.curoverse.com
Mon May 1 12:34:33 EDT 2017
at 8266a4cc54cfebf871d685a1a351362f7992235d (commit)
commit 8266a4cc54cfebf871d685a1a351362f7992235d
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Mon May 1 10:36:44 2017 -0400
11549: Crunch script doesn't fail in file/directory literals that don't have a 'location'.
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