Skip to content

Commit

Permalink
corrected name clash control in stub as well
Browse files Browse the repository at this point in the history
  • Loading branch information
tm4zza committed Dec 18, 2024
1 parent 0bd2532 commit 540bec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 74 deletions.
4 changes: 2 additions & 2 deletions modules/nf-core/gzrt/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
72 changes: 0 additions & 72 deletions modules/nf-core/gzrt/tests/main.nf.test.snap

This file was deleted.

0 comments on commit 540bec9

Please sign in to comment.