Skip to content

Commit

Permalink
CHORES: update custom/getchromsizes tests with new data organisation (n…
Browse files Browse the repository at this point in the history
…f-core#4757)

update custom/getchromsizes tests with new data organisation
  • Loading branch information
maxulysse authored Jan 17, 2024
1 parent 56cf5a8 commit 1b0ffa4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 28 deletions.
14 changes: 8 additions & 6 deletions modules/nf-core/custom/getchromsizes/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ nextflow_process {
}
process {
"""
input[0] = [ [ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
]
input[0] = Channel.of([
[ id:'test' ], // meta map
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true)
])
"""
}
}
Expand All @@ -41,9 +42,10 @@ nextflow_process {
}
process {
"""
input[0] = [ [ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['genome']['genome_fasta_gz'], checkIfExists: true)
]
input[0] = Channel.of([
[ id:'test' ], // meta map
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta.gz', checkIfExists: true)
])
"""
}
}
Expand Down
34 changes: 12 additions & 22 deletions modules/nf-core/custom/getchromsizes/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 1b0ffa4

Please sign in to comment.