From 7a6f1aa102edc3d253fe10b062869e696335fa2b Mon Sep 17 00:00:00 2001 From: nf-core-bot Date: Sun, 27 Oct 2024 10:26:13 +0000 Subject: [PATCH] [automated] Fix code linting --- .../src/content/blog/2024/maintainers-minutes-2024-10-25.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sites/main-site/src/content/blog/2024/maintainers-minutes-2024-10-25.mdx b/sites/main-site/src/content/blog/2024/maintainers-minutes-2024-10-25.mdx index 2622b69c77..bd34221659 100644 --- a/sites/main-site/src/content/blog/2024/maintainers-minutes-2024-10-25.mdx +++ b/sites/main-site/src/content/blog/2024/maintainers-minutes-2024-10-25.mdx @@ -42,8 +42,9 @@ However one pet peeve for many is the greatly increased number of files that now Fortunately Mahesh Binzer-Panchal has made a [proof of concept](https://github.com/nf-core/modules/pull/5706) aimed at reducing the number of config files needed for testing different parameters. This approach consolidates configs that previously required separate files to test different parameters into a single `nextflow.config`, helping streamline testing processes. Another implementation example can be seen in the `bismark/align` module used in methylseq pipeline: -* [param declaration in `when` block](https://github.com/nf-core/methylseq/blob/master/modules/nf-core/bismark/align/tests/main.nf.test#L28-L33) -* [test `nextflow.config`](https://github.com/nf-core/methylseq/blob/master/modules/nf-core/bismark/align/tests/nextflow.config) + +- [param declaration in `when` block](https://github.com/nf-core/methylseq/blob/master/modules/nf-core/bismark/align/tests/main.nf.test#L28-L33) +- [test `nextflow.config`](https://github.com/nf-core/methylseq/blob/master/modules/nf-core/bismark/align/tests/nextflow.config) By moving parameters into `when` blocks within the main nf-test script file, we can have a single `nextflow.config` file with the `ext.args` for the process set to the parameter set in the `when` block.