From 70645ed5cf5ff79271d185d1e1026e4a436145f2 Mon Sep 17 00:00:00 2001 From: k034b363 Date: Wed, 30 Oct 2024 16:50:17 -0500 Subject: [PATCH] Fix img.pseudo_rgb input to center roi test --- tests/test_geospatial_center_grid_rois.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_geospatial_center_grid_rois.py b/tests/test_geospatial_center_grid_rois.py index ef99617..7e9e6ca 100644 --- a/tests/test_geospatial_center_grid_rois.py +++ b/tests/test_geospatial_center_grid_rois.py @@ -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 @@ -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