Skip to content

Commit

Permalink
fix: dont subscript intensity_arr when None
Browse files Browse the repository at this point in the history
  • Loading branch information
Iwijn committed Jun 2, 2022
1 parent 2e193e5 commit c16fcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask_regionprops/regionprops.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def regionprops(labels, intensity=None, properties=DEFAULT_PROPERTIES, core_dims
)
else:
frame_props = d_regionprops(
labels_arr[dims], intensity_arr[dims], properties, other_cols
labels_arr[dims], None, properties, other_cols
)

all_props.append(frame_props)
Expand Down

0 comments on commit c16fcf4

Please sign in to comment.