From c7e0f8c9f7f29976b634ed9a9179d4e7ac5424bc Mon Sep 17 00:00:00 2001 From: Erin Young Date: Thu, 22 Feb 2024 16:04:47 -0700 Subject: [PATCH] uncommented errorStrategy --- modules/local/blast.nf | 2 +- modules/local/blobtools.nf | 6 +++--- modules/local/circulocov.nf | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/local/blast.nf b/modules/local/blast.nf index 4d77f5a..08e3bc2 100644 --- a/modules/local/blast.nf +++ b/modules/local/blast.nf @@ -3,7 +3,7 @@ process blastn { label "process_medium" publishDir params.outdir, mode: 'copy' container 'staphb/blast:2.15.0' - //errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} + errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} time '2h' input: diff --git a/modules/local/blobtools.nf b/modules/local/blobtools.nf index aa9b911..3997b05 100644 --- a/modules/local/blobtools.nf +++ b/modules/local/blobtools.nf @@ -4,7 +4,7 @@ process blobtools_create { publishDir params.outdir, mode: 'copy' container 'chrishah/blobtools:v1.1.1' time '45m' - //errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} + errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} input: tuple val(meta), file(contig), file(blastn), file(bam) @@ -44,7 +44,7 @@ process blobtools_view { publishDir params.outdir, mode: 'copy' container 'chrishah/blobtools:v1.1.1' time '10m' - //errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} + errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} input: tuple val(meta), file(json) @@ -81,7 +81,7 @@ process blobtools_plot { publishDir params.outdir, mode: 'copy' container 'chrishah/blobtools:v1.1.1' time '10m' - //errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} + errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} input: tuple val(meta), file(json) diff --git a/modules/local/circulocov.nf b/modules/local/circulocov.nf index cc95a07..48deacc 100755 --- a/modules/local/circulocov.nf +++ b/modules/local/circulocov.nf @@ -5,7 +5,7 @@ process circulocov { publishDir path: params.outdir, mode: 'copy' container 'quay.io/uphl/circulocov:0.1.20240104-2024-02-21' time '30m' - //errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} + errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'} input: tuple val(meta), file(fastqs), file(contigs)