From 5974927b4f33c37532ad70aa61937560f35784dd Mon Sep 17 00:00:00 2001 From: Robert Haase Date: Sat, 7 May 2022 11:33:42 +0200 Subject: [PATCH] fix test --- napari_skimage_regionprops/_parametric_images.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/napari_skimage_regionprops/_parametric_images.py b/napari_skimage_regionprops/_parametric_images.py index 4cdab32..50bddbf 100644 --- a/napari_skimage_regionprops/_parametric_images.py +++ b/napari_skimage_regionprops/_parametric_images.py @@ -25,6 +25,8 @@ def visualize_measurement_on_labels(labels_layer:"napari.layers.Labels", column: return cle.pull(cle.replace_intensities(labels, numpy.asarray([0] + measurements))) except ImportError: return relabel_numpy(labels, measurements) + except ModuleNotFoundError: + return relabel_numpy(labels, measurements) def relabel_numpy(image, measurements):