Description of the bug
In the Nextflow channel filter, a bitwise OR (|) was used instead of a logical OR (||), leading to unsafe condition evaluation or unexpected results.
Is it better to modify it like this?
quantification_data = mzml_files.filter { meta, file -> meta.level == "MS1" || meta.level == "MS12" }
Command used and terminal output
Relevant files
No response
System information
No response
Description of the bug
In the Nextflow channel filter, a bitwise OR (|) was used instead of a logical OR (||), leading to unsafe condition evaluation or unexpected results.
Is it better to modify it like this?
quantification_data = mzml_files.filter { meta, file -> meta.level == "MS1" || meta.level == "MS12" }Command used and terminal output
Relevant files
No response
System information
No response