diff --git a/modules/nf-core/samtools/sort/main.nf b/modules/nf-core/samtools/sort/main.nf index 01f4f8c6820f..6412b56ed9e6 100644 --- a/modules/nf-core/samtools/sort/main.nf +++ b/modules/nf-core/samtools/sort/main.nf @@ -33,7 +33,7 @@ process SAMTOOLS_SORT { def reference = fasta ? "--reference ${fasta}" : "" //setting default values def write_index = "" - def output_file = "${prefix}.${extension}" + output_file = "${prefix}.${extension}" // Update if index is requested if (index_format != '' && index_format) { diff --git a/modules/nf-core/samtools/sort/tests/main.nf.test.snap b/modules/nf-core/samtools/sort/tests/main.nf.test.snap index 43677f3c9587..116108d31995 100644 --- a/modules/nf-core/samtools/sort/tests/main.nf.test.snap +++ b/modules/nf-core/samtools/sort/tests/main.nf.test.snap @@ -46,7 +46,7 @@ "id": "test", "single_end": false }, - "test.sorted.bam.csi:md5,43f545200e545ca2075c475d194a5130" + "test.sorted.bam.csi:md5,01394e702c729cb478df914ffaf9f7f8" ] ], { @@ -59,10 +59,10 @@ ] } ], - "timestamp": "2026-07-10T17:05:03.136300204", + "timestamp": "2026-08-04T18:55:54.454541192", "meta": { "nf-test": "0.9.5", - "nextflow": "26.04.4" + "nextflow": "26.04.6" } }, "bam - stub": {