Skip to content

Commit

Permalink
Update dask_image/ndmeasure/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 committed Nov 1, 2020
1 parent efdc752 commit d1b88f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dask_image/ndmeasure/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,8 +714,8 @@ def sum_labels(image, label_image=None, index=None):


def sum(image, label_image=None, index=None):
"""DEPRECATED FUNCTION. Use $B!F(Bsum_labels$B!G(B instead."""
warnings.warn("DEPRECATED FUNCTION. Use $B!F(Bsum_labels$B!G(B instead.", DeprecationWarning)
"""DEPRECATED FUNCTION. Use `sum_labels` instead."""
warnings.warn("DEPRECATED FUNCTION. Use `sum_labels` instead.", DeprecationWarning)
return sum_labels(image, label_image=label_image, index=index)


Expand Down

0 comments on commit d1b88f3

Please sign in to comment.