Skip to content

Commit

Permalink
Fix img.pseudo_rgb input to center roi test
Browse files Browse the repository at this point in the history
  • Loading branch information
k034b363 committed Oct 30, 2024
1 parent bc6add5 commit 70645ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_geospatial_center_grid_rois.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_geospatial_center_rois_one(test_data):
viewer = napari.Viewer(show=False)
viewer.add_image(img.pseudo_rgb)
viewer.add_shapes(field, name="grid_shapes")
rois = geo.center_grid_rois(img, viewer, radius=10)
rois = geo.center_grid_rois(img.pseudo_rgb, viewer, radius=10)
assert len(rois.contours) == 1


Expand All @@ -33,5 +33,5 @@ def test_geospatial_center_rois_multi(test_data):
viewer = napari.Viewer(show=False)
viewer.add_image(img.pseudo_rgb)
viewer.add_shapes(field, name="grid_shapes")
rois = geo.center_grid_rois(img, viewer, radius=10)
rois = geo.center_grid_rois(img.pseudo_rgb, viewer, radius=10)
assert len(rois.contours) == 2

0 comments on commit 70645ed

Please sign in to comment.