aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Amstutz2020-07-03 21:20:28 +0000
committerPeter Amstutz2020-07-03 21:20:28 +0000
commit36f5c5b58a2de662eae9f379e66a9695d300dc2e (patch)
treef58de42d22235de630de8a4d1a22d9fb859196a3
parent38340e0cedb465cd592ac40b11c9d22c75973fed (diff)
downloadbh20-seq-resource-36f5c5b58a2de662eae9f379e66a9695d300dc2e.tar.gz
bh20-seq-resource-36f5c5b58a2de662eae9f379e66a9695d300dc2e.tar.lz
bh20-seq-resource-36f5c5b58a2de662eae9f379e66a9695d300dc2e.zip
Add --no-start-analysis
-rw-r--r--bh20seqanalyzer/main.py3
1 files changed, 2 insertions, 1 deletions
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,