diff --git a/workflows/quantms.nf b/workflows/quantms.nf index ce19137a..86fca0d1 100644 --- a/workflows/quantms.nf +++ b/workflows/quantms.nf @@ -135,7 +135,8 @@ workflow QUANTMS { ch_versions = ch_versions.mix(DIA.out.versions.ifEmpty(null)) // Other subworkflow will return null when performing another subworkflow due to unknown reason. - ch_versions = ch_versions.filter( ~/versions/ ) + ch_versions = ch_versions.filter{ it != null } + } softwareVersionsToYAML(ch_versions)