Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed May 7, 2022
1 parent e438600 commit 5974927
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions napari_skimage_regionprops/_parametric_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5974927

Please sign in to comment.