Skip to content

Commit

Permalink
bugfix: shape check didn't work in special cases
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Apr 27, 2022
1 parent b10fa22 commit e9a507c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napari_skimage_regionprops/_regionprops.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def standard_deviation_intensity(region, intensities):
properties=properties, extra_properties=extra_properties)

if shape:
if len(labels.data.shape) == 3:
if len(labels.shape) == 3:
axis_lengths_0 = []
axis_lengths_1 = []
axis_lengths_2 = []
Expand Down

0 comments on commit e9a507c

Please sign in to comment.