ANN: scikits.image v0.2

Tony S Yu tsyu80 at gmail.com
Thu Nov 12 16:02:52 EST 2009


On Nov 12, 2009, at 3:37 PM, Stéfan van der Walt wrote:

>
> Hi Tony
>
> 2009/11/12 Tony S Yu <tsyu80 at gmail.com>:
>> I've uploaded a fix to remove the dependency on enhanced decorators.
>
> I just tested @property decorators under 2.5 and they seem to work --
> could you describe the problem you are having?

Hey Stefan,

In io.collections, the setter for as_grey is defined with  
`@as_grey.setter`. 2.5 allows @property, but not @property.setter.

>
> I did fix a "with ..." that slipped in.
>
>> Also, I noticed that the doctests in the io package are not really
>> maintained. I fixed some file loading issues in my "io_doctest"
>> branch. One test still fails because I'm not sure how to rewrite it
>> without making it really ugly (the test prints out the filepaths in a
>> collection, but you want to test the filename). Also, a doctest for
>> io.show fails because there's no default plugin showing images.
>
> Thanks for pointing out these problems.  They should be fixed in the
> master branch.

Thanks for you quick response. I see that you made changes to the  
"show" doctest. Nevertheless, the test still fails on my system  
because there's no plugin specified for imshow when I run the test.  
(If I specify, io.use_plugin and import numpy as np, it sort of works;  
no really b/c it registers a failure since imshow returns objects that  
the doctest checks). I'm not sure if it makes sense to write that  
example as a doctest (because of these complications).

Cheers
-Tony
>
> Cheers
> Stéfan




More information about the scikit-image mailing list