These are chat archives for nextflow-io/nextflow

30th
Nov 2016
Maxime Garcia
@MaxUlysse
Nov 30 2016 15:37

hello @pditommaso, with the new release we have this warning message

WARN: Configuration for directive `task` for process **

Do you know what could have caused it ?
Workflow is still running btw

(** being the name of the process)
Paolo Di Tommaso
@pditommaso
Nov 30 2016 15:39
There's a type in the warning message
you should read
WARN: Unknown directive `task` for process **
likely in your config there's an invalid
process {
  task  = ..  
}
or something like that
Maxime Garcia
@MaxUlysse
Nov 30 2016 15:42
I have things like
process {
      errorStrategy = task.exitStatus == 143 ? 'retry' : 'terminate'

   $MapReads.time = {params.runTime * task.attempt}
}
Paolo Di Tommaso
@pditommaso
Nov 30 2016 15:43
that's the problem
it should be
process {
      errorStrategy = { task.exitStatus == 143 ? 'retry' : 'terminate' }

   $MapReads.time = {params.runTime * task.attempt}
}
Maxime Garcia
@MaxUlysse
Nov 30 2016 15:43
Makes sense indeed
Thanks
Paolo Di Tommaso
@pditommaso
Nov 30 2016 15:43
:+1: