Skip to content

Commit

Permalink
update data path
Browse files Browse the repository at this point in the history
  • Loading branch information
maxulysse committed Feb 12, 2024
1 parent 2dac9ed commit cbe455c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
12 changes: 6 additions & 6 deletions modules/nf-core/samtools/flagstat/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ nextflow_process {
}
process {
"""
input[0] = [
input[0] = Channel.of([
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam_bai'], checkIfExists: true)
]
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/bam/test.paired_end.sorted.bam', checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/bam/test.paired_end.sorted.bam.bai', checkIfExists: true)
])
"""
}
}

then {
assertAll (
{ assert process.success },
{ assert snapshot(process.out.flagstat).match() },
{ assert path(process.out.versions.get(0)).getText().contains("samtools") }
{ assert snapshot(process.out.flagstat).match("flagstat") },
{ assert snapshot(process.out.versions).match("versions") }
)
}
}
Expand Down
20 changes: 18 additions & 2 deletions modules/nf-core/samtools/flagstat/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cbe455c

Please sign in to comment.