These are chat archives for nextflow-io/nextflow

31st
Aug 2016
Evan Floden
@evanfloden
Aug 31 2016 10:27
With regards to errorStrategy, is maxRetries in relation to that specific task which fails or the process in general?
There is a subtle but important difference between maxRetries and the maxErrors directive. The latter defines the total number of errors that are allowed during the process execution (the same process can launch different execution instances), while the maxRetries defines the maximum number of times the same process execution can be retried in case of an error.
Paolo Di Tommaso
@pditommaso
Aug 31 2016 10:28
nobody understand this, me neither .. :/
Evan Floden
@evanfloden
Aug 31 2016 10:28
I guess that 'process execution` means tasks?
Paolo Di Tommaso
@pditommaso
Aug 31 2016 10:29
yes
maxRetries defines how many times the same task can be retried
Evan Floden
@evanfloden
Aug 31 2016 10:29
:+1:
Mokok
@Mokok
Aug 31 2016 11:17
the question is : can a process run a single time, but get several errors ? if it doesn't, i don't understand the difference between maxError and MaxRetries, me neither :/
Evan Floden
@evanfloden
Aug 31 2016 11:26
So a process can have several executions (tasks), a simple example being you have a process that takes as input several fasta files individually. So for every input sequence, do x. Using this example, I understand that maxRetries refers to the number errors per sequence (task), where maxError refers to the total number of errors in all the executions of the the process.