diff --git a/modules/nf-core/gzrt/main.nf b/modules/nf-core/gzrt/main.nf index 97eda522e3a..f0b7d49de06 100644 --- a/modules/nf-core/gzrt/main.nf +++ b/modules/nf-core/gzrt/main.nf @@ -23,7 +23,7 @@ process GZRT { } prefix = task.ext.prefix ?: "${meta.id}_recovered" - if ("${fastqgz}" == "${prefix}.fastq.gz") error "Input and output names are the same, set prefix in module configuration to disambiguate!" + if ("${fastqgz}" == "${prefix}.fastq.gz") error "Input and output names are the same, use \"task.ext.prefix\" to disambiguate!" """ gzrecover -p ${fastqgz} | gzip > ${prefix}.fastq.gz @@ -37,7 +37,7 @@ process GZRT { stub: prefix = task.ext.prefix ?: "${meta.id}_recovered" - if ("${fastqgz}" == "${prefix}.fastq.gz") error "Input and output names are the same, set prefix in module configuration to disambiguate!" + if ("${fastqgz}" == "${prefix}.fastq.gz") error "Input and output names are the same, use \"task.ext.prefix\" to disambiguate!" """ echo "" | gzip > ${prefix}.fastq.gz diff --git a/modules/nf-core/gzrt/tests/main.nf.test.snap b/modules/nf-core/gzrt/tests/main.nf.test.snap deleted file mode 100644 index 2d57f1983c3..00000000000 --- a/modules/nf-core/gzrt/tests/main.nf.test.snap +++ /dev/null @@ -1,72 +0,0 @@ -{ - "Run gzrt on 30 paired-end reads - fastq.gz": { - "content": [ - { - "0": [ - [ - { - "id": "test", - "single_end": false - }, - "test_recovered.fastq.gz:md5,5eca10f954656478b5af96868222eec4" - ] - ], - "1": [ - "versions.yml:md5,b9467d4cb860eb2941a2078a3dd3cf41" - ], - "fastqrecovered": [ - [ - { - "id": "test", - "single_end": false - }, - "test_recovered.fastq.gz:md5,5eca10f954656478b5af96868222eec4" - ] - ], - "versions": [ - "versions.yml:md5,b9467d4cb860eb2941a2078a3dd3cf41" - ] - } - ], - "meta": { - "nf-test": "0.9.2", - "nextflow": "24.10.1" - }, - "timestamp": "2024-12-15T13:49:10.174131" - }, - "Run gzrt on 30 paired-end reads - fastq.gz - stub": { - "content": [ - { - "0": [ - [ - { - "id": "test", - "single_end": false - }, - "test_recovered.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940" - ] - ], - "1": [ - "versions.yml:md5,b9467d4cb860eb2941a2078a3dd3cf41" - ], - "fastqrecovered": [ - [ - { - "id": "test", - "single_end": false - }, - "test_recovered.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940" - ] - ], - "versions": [ - "versions.yml:md5,b9467d4cb860eb2941a2078a3dd3cf41" - ] - } - ], - "meta": { - "nf-test": "0.9.2", - "nextflow": "24.10.1" - }, - "timestamp": "2024-12-15T13:49:20.410351" - } -} \ No newline at end of file