Skip to content

Commit

Permalink
dummy: Add changes to actual module files not tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Sep 30, 2024
1 parent 164498a commit fed0e6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nf-core/samtools/sort/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ process SAMTOOLS_SORT {
"bam"
def reference = fasta ? "--reference ${fasta}" : ""
if ("$bam" == "${prefix}.bam") error "Input and output names are the same, use \"task.ext.prefix\" to disambiguate!"

// Team sarek
"""
samtools cat \\
${bam} \\
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/unzip/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ process UNZIP {
def args = task.ext.args ?: ''
if ( archive instanceof List && archive.name.size > 1 ) { error "[UNZIP] error: 7za only accepts a single archive as input. Please check module input." }
prefix = task.ext.prefix ?: ( meta.id ? "${meta.id}" : archive.baseName)
// Stress test
"""
7za \\
x \\
Expand Down

0 comments on commit fed0e6c

Please sign in to comment.