From c16fcf480fd71c4161507f1147f5d67ca9ec1a7b Mon Sep 17 00:00:00 2001 From: Iwijn Date: Fri, 3 Jun 2022 00:43:09 +0200 Subject: [PATCH] fix: dont subscript intensity_arr when None --- dask_regionprops/regionprops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dask_regionprops/regionprops.py b/dask_regionprops/regionprops.py index 7fb228a..2ec5ecc 100644 --- a/dask_regionprops/regionprops.py +++ b/dask_regionprops/regionprops.py @@ -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)