Skip to content

Commit

Permalink
update test to use new test files
Browse files Browse the repository at this point in the history
  • Loading branch information
kobelavaerts committed Nov 5, 2024
1 parent 5ea7ed2 commit 2717eef
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_metadata/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ nextflow_process {
process {
"""
input[0] = Channel.of(
file("${baseDir}/tests/mindagap.mouse_heart.wga.tiff", checkIfExists:true),
file("${baseDir}/tests/nuclear_image.tif", checkIfExists:true),
)
"""
}
Expand All @@ -28,14 +28,16 @@ nextflow_process {
process {
"""
input[0] = Channel.of(
file("${baseDir}/tests/mindagap.mouse_heart.wga.tiff", checkIfExists:true),
file("${baseDir}/tests/nuclear_image.tif", checkIfExists:true),
)
"""
}
}
then {
def tiff = path(process.out.tiff[0]).tiff
def reference = path("${baseDir}/tests/mindagap.mouse_heart.wga.tiff").tiff
// def reference = path("${baseDir}/tests/mindagap.mouse_heart.wga.tiff").tiff
def reference = path("${baseDir}/tests/nuclear_image.tif").tiff
// def reference = path("${baseDir}/tests/nuclear_image_modified.tif").tiff
assert tiff.meta == reference.meta
assert tiff.bitmaps == reference.bitmaps
}
Expand Down

0 comments on commit 2717eef

Please sign in to comment.