From 1566e86653994ceec5a6238ad0568fa272cb5d31 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Tue, 27 Nov 2018 15:54:37 -0500 Subject: [PATCH] Restore default value of --on-error to 'continue' refs #14440 Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- doc/user/cwl/cwl-run-options.html.textile.liquid | 2 +- sdk/cwl/arvados_cwl/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/user/cwl/cwl-run-options.html.textile.liquid b/doc/user/cwl/cwl-run-options.html.textile.liquid index a7a634f370..27970f440a 100644 --- a/doc/user/cwl/cwl-run-options.html.textile.liquid +++ b/doc/user/cwl/cwl-run-options.html.textile.liquid @@ -55,7 +55,7 @@ table(table table-bordered table-condensed). |==--submit-request-uuid== UUID|Update and commit to supplied container request instead of creating a new one (containers API only).| |==--submit-runner-cluster== CLUSTER_ID|Submit workflow runner to a remote cluster (containers API only)| |==--name NAME==|Name to use for workflow execution instance.| -|==--on-error== {stop,continue}|Desired workflow behavior when a step fails. One of 'stop' (do not submit any more steps) or 'continue' (may submit other steps that are not downstream from the error). Default is 'stop'.| +|==--on-error== {stop,continue}|Desired workflow behavior when a step fails. One of 'stop' (do not submit any more steps) or 'continue' (may submit other steps that are not downstream from the error). Default is 'continue'.| |==--enable-dev==|Enable loading and running development versions of CWL spec.| |==--storage-classes== STORAGE_CLASSES|Specify comma separated list of storage classes to be used when saving workflow output to Keep.| |==--intermediate-output-ttl== N|If N > 0, intermediate output collections will be trashed N seconds after creation. Default is 0 (don't trash).| diff --git a/sdk/cwl/arvados_cwl/__init__.py b/sdk/cwl/arvados_cwl/__init__.py index c0915c06b1..9b814f534c 100644 --- a/sdk/cwl/arvados_cwl/__init__.py +++ b/sdk/cwl/arvados_cwl/__init__.py @@ -165,8 +165,8 @@ def arg_parser(): # type: () -> argparse.ArgumentParser parser.add_argument("--on-error", help="Desired workflow behavior when a step fails. One of 'stop' (do not submit any more steps) or " - "'continue' (may submit other steps that are not downstream from the error). Default is 'stop'.", - default="stop", choices=("stop", "continue")) + "'continue' (may submit other steps that are not downstream from the error). Default is 'continue'.", + default="continue", choices=("stop", "continue")) parser.add_argument("--enable-dev", action="store_true", help="Enable loading and running development versions " -- 2.30.2