Skip to content

Commit

Permalink
fix get batch image writer test
Browse files Browse the repository at this point in the history
  • Loading branch information
martvanrijthoven committed Nov 2, 2023
1 parent fcff3fe commit f0b71cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/image_writer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_write_image(wsi: WholeSlideImage):
patch_configuration=PatchConfiguration(spacings=(32.0,)),
) as iterator:
for patch, info in iterator:
wsi_writer.write_tile(patch[0])
wsi_writer.write_tile(patch[0][0])

wsi_writer.finishImage()
wsi_new = WholeSlideImage(output_path, backend=AsapWholeSlideImageBackend)
Expand Down

0 comments on commit f0b71cd

Please sign in to comment.