Skip to content
Snippets Groups Projects
Verified Commit 8fe24a84 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

nextflow.config: fix errorStrategy

parent eed28334
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ profiles {
docker.temp = "auto"
docker.enabled = true
process {
errorStrategy 'finish'
errorStrategy = 'finish'
memory = '16 GB'
withLabel: big_mem_mono_cpus {
cpus = 1
......@@ -31,7 +31,7 @@ profiles {
singularity.enabled = true
singularity.cacheDir = "./bin/"
process {
errorStrategy 'finish'
errorStrategy = 'finish'
memory = '16 GB'
withLabel: big_mem_mono_cpus {
cpus = 1
......@@ -46,8 +46,8 @@ profiles {
singularity.cacheDir = "$baseDir/.singularity_psmn/"
singularity.runOptions = "--bind /Xnfs,/scratch"
process{
errorStrategy 'retry'
maxRetries 3
errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' }
maxRetries = 3
withLabel: big_mem_mono_cpus {
executor = "sge"
clusterOptions = "-cwd -V"
......@@ -74,8 +74,8 @@ profiles {
singularity.cacheDir = "$baseDir/.singularity_in2p3/"
singularity.runOptions = "--bind /pbs,/sps,/scratch"
process{
errorStrategy 'retry'
maxRetries 3
errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' }
maxRetries = 3
withLabel: big_mem_mono_cpus {
scratch = true
stageInMode = "copy"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment