James Fellows Yates
11/18/2025, 11:09 AMmodules/local/<name>/ and it has it's own independent tests.
Yet when I run nf-test test --tag summarisepydamage --profile test,docker --verbose --debug --update-snapshot or nf-test test --tag modules/local/summarisepydamage/tests/main.nf --profile test,docker --verbose --debug --update-snapshot
The test 'fails' because it doesn't get meta.id from the test input itself, but rather it appears nf-test is importing conf/modules.config and applying the pipeline-level withName customisation there...Nicolas Vannieuwkerke
11/18/2025, 11:53 AMmodules.config file. I've done something similar in this config: https://github.com/nf-cmgg/smallvariants/blob/main/conf/modules.configEvangelos Karatzas
11/18/2025, 11:58 AMJames Fellows Yates
11/18/2025, 12:05 PMwithName:, but I see the logic... maybe something to add to linting/warning/guidelines? @Evangelos Karatzas want to propose this in #C043UU89KKQ for feedbackNicolas Vannieuwkerke
11/18/2025, 12:07 PM^PIPELINE_NAME.*MODULE_NAME$ . This will apply the same settings to all processes but only if they are run by the pipelineEvangelos Karatzas
11/18/2025, 12:15 PMArthur
11/18/2025, 12:17 PM(.*:)? to the start of withName regexes because it allows for the subworkflows or parent workflow to change depth (ie workflow chaining) and for the names to still work properlyNicolas Vannieuwkerke
11/18/2025, 12:17 PMNicolas Vannieuwkerke
11/18/2025, 12:18 PM