Release time

Juan Nunez-Iglesias jni.soma at gmail.com
Thu Oct 17 00:57:04 EDT 2013


Hi Stefan,

It just occurred to me that this comment of mine:
https://github.com/scikit-image/scikit-image/pull/674#issuecomment-22308750

was ignored. As I mention in the comment, the refactoring of regionprops
actually resulted in an API change. Seems fixable... Do you want me to
tackle it? Here's the error it gives:

/Users/nuneziglesiasj/venv/husc/lib/python2.7/site-packages/husc/features.py
in object_features(bin_im, im, erode)
    141                                  'MaxIntensity', 'Solidity'],
    142                                 intensity_image=im)
--> 143     feats = np.array([props.values() for props in feats], np.float)
    144     feature_quantiles = mquantiles(feats, [0.05, 0.25, 0.5,
0.75, 0.95],
    145                                    axis=0)

AttributeError: '_RegionProperties' object has no attribute 'values'


I think it would be fixable by adding a .values() function (which would be
deprecated from the beginning) that returns whatever regionprops were
originally requested.

@ahojnnes might have something to add...

Juan.



On Thu, Oct 17, 2013 at 12:11 AM, Stéfan van der Walt <stefan at sun.ac.za>wrote:

> On Tue, Oct 15, 2013 at 3:25 PM, Johannes Schönberger <jsch at demuc.de>
> wrote:
> > I think I fixed the two remaining issues reported by Christoph, thanks
> for reporting them!
>
> Alright!  Everything's gone quiet... so I'm starting the countdown to
> the release.  Speak now or hold your deprecations until 0.10!
>
> Stéfan
>
> --
> You received this message because you are subscribed to the Google Groups
> "scikit-image" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scikit-image+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20131017/e3b7584b/attachment.html>


More information about the scikit-image mailing list