These are chat archives for nextflow-io/nextflow

18th
Aug 2016
Johan Viklund
@viklund
Aug 18 2016 12:59 UTC
I expected when params.run_prog to run only if I specified --run_prog on command line
instead I had to do when params.run_prog == true
is this a bug?
I guess it's stringifying the params.run_prog into null and since that string is not empty it will run
Paolo Di Tommaso
@pditommaso
Aug 18 2016 13:03 UTC
do you mean a process when clause ?
Johan Viklund
@viklund
Aug 18 2016 13:12 UTC
Yes
Paolo Di Tommaso
@pditommaso
Aug 18 2016 13:19 UTC
um, it could be a bug
you may want to open an issue with an example to replicate the problem
Johan Viklund
@viklund
Aug 18 2016 14:01 UTC
Sure
Johan Viklund
@viklund
Aug 18 2016 14:11 UTC
nextflow-io/nextflow#217
Paolo Di Tommaso
@pditommaso
Aug 18 2016 14:18 UTC
@viklund thanks!