From 36f5c5b58a2de662eae9f379e66a9695d300dc2e Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Fri, 3 Jul 2020 21:20:28 +0000 Subject: Add --no-start-analysis --- bh20seqanalyzer/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bh20seqanalyzer/main.py b/bh20seqanalyzer/main.py index 9a36cae..9daab5a 100644 --- a/bh20seqanalyzer/main.py +++ b/bh20seqanalyzer/main.py @@ -244,6 +244,7 @@ def main(): parser.add_argument('--latest-result-collection', type=str, default='lugli-4zz18-z513nlpqm03hpca', help='') parser.add_argument('--kickoff', action="store_true") + parser.add_argument('--no-start-analysis', action="store_true") parser.add_argument('--once', action="store_true") args = parser.parse_args() @@ -276,7 +277,7 @@ def main(): args.fastq_project, args.fastq_workflow_uuid) or at_least_one_new_valid_seq - if at_least_one_new_valid_seq: + if at_least_one_new_valid_seq and not args.no_start_analysis: start_pangenome_analysis(api, args.pangenome_analysis_project, args.pangenome_workflow_uuid, -- cgit v1.2.3