Skip to content

Commit

Permalink
Terminate nextflow on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
martinghunt committed Mar 6, 2018
1 parent 395ba37 commit 412d6cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions minos/multi_sample_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def _write_nextflow_script(cls, outfile):
process cluster_small_vars_vcf {
errorStrategy {task.attempt < 3 ? 'retry' : 'ignore'}
errorStrategy {task.attempt < 3 ? 'retry' : 'terminate'}
memory {params.testing ? '0.5 GB' : 1.GB * params.cluster_small_vars_ram * task.attempt}
maxRetries 3
Expand All @@ -197,7 +197,7 @@ def _write_nextflow_script(cls, outfile):
process gramtools_build_small_vars {
errorStrategy {task.attempt < 3 ? 'retry' : 'ignore'}
errorStrategy {task.attempt < 3 ? 'retry' : 'terminate'}
memory {params.testing ? '0.5 GB' : 1.GB * params.gramtools_build_small_vars_ram * task.attempt}
maxRetries 3
Expand Down Expand Up @@ -227,7 +227,7 @@ def _write_nextflow_script(cls, outfile):
process minos_all_small_vars {
errorStrategy {task.attempt < 3 ? 'retry' : 'ignore'}
errorStrategy {task.attempt < 3 ? 'retry' : 'terminate'}
memory {params.testing ? '0.5 GB' : 1.GB * params.minos_small_vars_ram * task.attempt}
maxRetries 3
Expand Down Expand Up @@ -281,7 +281,7 @@ def _write_nextflow_script(cls, outfile):
process bcftools_merge {
errorStrategy {task.attempt < 3 ? 'retry' : 'ignore'}
errorStrategy {task.attempt < 3 ? 'retry' : 'terminate'}
memory {params.testing ? '0.5 GB' : 1.GB * params.bcftools_merge_ram * task.attempt}
maxRetries 3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='bio-minos',
version='0.2.0',
version='0.3.0',
description='Variant call adjudication',
packages = find_packages(),
author='Martin Hunt',
Expand Down

0 comments on commit 412d6cc

Please sign in to comment.