Nicolas Vannieuwkerke
09/10/2025, 8:08 AMpear module: https://github.com/nf-core/modules/pull/9023Nicolas Vannieuwkerke
09/10/2025, 8:25 AMMaxime Garcia
09/10/2025, 8:35 AMassert snapshot(process.out.collectEntries { key, val ->
if (key[0].isNumber()) {
// Skip numbered outputs
return
}
if (key == "discarded") {
// Discarded fastq is empty, causing a lint failure => only check filename for this output
return [key, val.collect { meta, fastq -> [ meta, file(fastq).name ]}]
} else if (key == "versions") {
return [key, val.collect { file -> path(file).yaml }]
} else {
return [key, val]
}
} ).match()Maxime Garcia
09/10/2025, 8:36 AMMaxime Garcia
09/10/2025, 8:36 AMNicolas Vannieuwkerke
09/10/2025, 8:36 AMMaxime Garcia
09/10/2025, 8:37 AMNicolas Vannieuwkerke
09/10/2025, 8:37 AMnft-utils but I need to think on how to make this general enough for thatMaxime Garcia
09/10/2025, 8:38 AMNicolas Vannieuwkerke
09/10/2025, 8:38 AMMaxime Garcia
09/10/2025, 8:38 AMNicolas Vannieuwkerke
09/10/2025, 8:39 AMMaxime Garcia
09/10/2025, 8:39 AMMaxime Garcia
09/10/2025, 8:40 AMMaxime Garcia
09/10/2025, 8:40 AMNicolas Vannieuwkerke
09/10/2025, 8:41 AM