Done! =)


On Wed, Apr 3, 2013 at 6:08 PM, Johannes Schönberger <
notifications@github.com> wrote:

> In skimage/feature/peak.py:
>
> > @@ -130,11 +130,12 @@ def peak_local_max(image, min_distance=10, threshold_abs=0, threshold_rel=0.1,
> >      image *= mask
> >
> >      if exclude_border:
> > -        # Remove the image borders
> > -        image[:min_distance] = 0
> > -        image[-min_distance:] = 0
> > -        image[:, :min_distance] = 0
> > -        image[:, -min_distance:] = 0
> > +        # zero out the image borders
> > +        for i in xrange(image.ndim):
>
> We should range rather than xrange here for Python 3 compatibility.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/yangzetian/scikit-image/pull/1/files#r3631772>
> .
>