Skip to content

Commit f6268a2

Browse files
Resolve scikit-image deprecation (#888)
Resolves #877
1 parent c4c832e commit f6268a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hexrd/core/instrument/hedm_instrument.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ def pull_spots(
19611961

19621962
peak_id = patch_id
19631963
coms = np.vstack(
1964-
[x.weighted_centroid for x in regionprops(labels, patch_data)]
1964+
[x.centroid_weighted for x in regionprops(labels, patch_data)]
19651965
)
19661966
closest_peak_idx = np.argmin(
19671967
np.sum(

0 commit comments

Comments
 (0)