These are chat archives for nextflow-io/nextflow

18th
Aug 2017
Jean-Christophe Houde
@jchoude
Aug 18 2017 15:19
Can a "when" condition on a process be written in something else thant Groovy? Say I want to check the content of a file with a python tool, and execute the process only when the tool returns "true"
Or would I need to create an intermediate process to check this case?
Simone Baffelli
@baffelli
Aug 18 2017 15:31
you could create a process that computes the condition
and send it to the process where you want to use the when condition
or just use groovy :grimacing:
Jean-Christophe Houde
@jchoude
Aug 18 2017 16:49
Yes, but Groovy has no support for the file interaction I'm trying to do
:)
Simone Baffelli
@baffelli
Aug 18 2017 17:19
Roll your own😂
Simone Baffelli
@baffelli
Aug 18 2017 18:15
By the
klitgord
@klitgord
Aug 18 2017 19:49
Is any logging done by the nextflow cloud commands? I am not seeing any, but perhaps I need to adjust how I am calling? thank you niels.