These are chat archives for nextflow-io/nextflow

18th
Aug 2016
Johan Viklund
@viklund
Aug 18 2016 12:59
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
do you mean a process when clause ?
Johan Viklund
@viklund
Aug 18 2016 13:12
Yes
Paolo Di Tommaso
@pditommaso
Aug 18 2016 13:19
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
Sure
Johan Viklund
@viklund
Aug 18 2016 14:11
nextflow-io/nextflow#217
Paolo Di Tommaso
@pditommaso
Aug 18 2016 14:18
@viklund thanks!