[ARVADOS] updated: 8d80d7aa5900da7e9ef1f2a8b65db119f0959267
Git user
git at public.curoverse.com
Thu Jul 28 14:40:09 EDT 2016
Summary of changes:
sdk/cwl/arvados_cwl/__init__.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
via 8d80d7aa5900da7e9ef1f2a8b65db119f0959267 (commit)
via d94634379660ba4ef9d1a8150e2f6dbc544e590d (commit)
from 3381f02d88d4a35ba63226d76cba674aacfbe140 (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 8d80d7aa5900da7e9ef1f2a8b65db119f0959267
Merge: 3381f02 d946343
Author: radhika <radhika at curoverse.com>
Date: Thu Jul 28 14:27:27 2016 -0400
refs #9552
Merge branch '9552-compute-checksum-flag'
commit d94634379660ba4ef9d1a8150e2f6dbc544e590d
Author: radhika <radhika at curoverse.com>
Date: Thu Jul 28 13:36:26 2016 -0400
9552: add compute-checksum flag to arvados-cwl-runner
diff --git a/sdk/cwl/arvados_cwl/__init__.py b/sdk/cwl/arvados_cwl/__init__.py
index 4bff093..ce1cc26 100644
--- a/sdk/cwl/arvados_cwl/__init__.py
+++ b/sdk/cwl/arvados_cwl/__init__.py
@@ -127,7 +127,7 @@ class ArvCwlRunner(object):
kwargs["use_container"] = True
kwargs["tmpdir_prefix"] = "tmp"
kwargs["on_error"] = "continue"
- kwargs["compute_checksum"] = False
+ kwargs["compute_checksum"] = kwargs.get("compute_checksum")
if self.work_api == "containers":
kwargs["outdir"] = "/var/spool/cwl"
@@ -291,6 +291,10 @@ def arg_parser(): # type: () -> argparse.ArgumentParser
default=None, dest="work_api",
help="Select work submission API, one of 'jobs' or 'containers'.")
+ parser.add_argument("--compute-checksum", action="store_true", default=False,
+ help="Compute checksum of contents while collecting outputs",
+ dest="compute_checksum")
+
parser.add_argument("workflow", type=str, nargs="?", default=None, help="The workflow to execute")
parser.add_argument("job_order", nargs=argparse.REMAINDER, help="The input object to the workflow.")
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list