These are chat archives for nextflow-io/nextflow
Hi @pditommaso , i was playing with nextflow again, and specially about mixing languages (in the "script" block). It seems that it's restrained to conditioning bash exec with groovy control flow (if/else/switch). As far as i can see, groovy is executed locally and then the shell is ran by the executor.
1- Is there any way to code more than conditioning (modification/preparation of produced data to push into output channel?
2- Additionally, how to execute groovy code on the executor side ?
3- Bug ? If I put some groovy code after a shell block, groovy is executed, but the shell is evaluated ass 'unknown command null' : NextFlow doesn't report it as a script syntax error. Is it a bug or am i doing it wrong ?
a script block such as :
scriptyou can use groovy code, but it's meant only to compose the script command (string) in a dynamic manner
it appears that i can't put groovy after a shell call
pditommaso merged 2 commits into nextflow-io:master from mes5k:splitFasta_single 17 days ago