Relative Content

Tag Archive for groovynextflow

Unexpected behaviour of nextflow when passing a condition to the ‘when’ block

I’m trying to pass in a “when” block inside a process with a condition of the form: ‘{sample_id}-{taxid}’ in taxid_dict_v2[taxid]. I expect the process to execute for some samples, however the process never executes. When trying to:
println(“Checking if {sample_id}-{taxid} is in ${taxid_dict_v2[taxid]}”) everything looks correct.