multi-page TIFF writer
Zachary Pincus
zachary.pincus at yale.edu
Thu Apr 18 11:12:31 EDT 2013
OK, unittest added: https://github.com/scikit-image/scikit-image/pull/508
Also, BTW, I get the below test failure when I have matplotlib but no PIL installed. I think test_imread_url or the test right before it must be making some incorrect assumptions. (If I re-run the tests after this failure, then also all of the tifffile tests fail, so it seems that some test isn't doing proper teardown of the image loading plugins?)
Zach
ERROR: test_io.test_imread_url
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image-0.9dev-py2.7-macosx-10.6-intel.egg/skimage/io/tests/test_io.py", line 27, in test_imread_url
image = io.imread(image_url)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image-0.9dev-py2.7-macosx-10.6-intel.egg/skimage/io/_io.py", line 136, in imread
img = call_plugin('imread', f.name, plugin=plugin, **plugin_args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image-0.9dev-py2.7-macosx-10.6-intel.egg/skimage/io/_plugins/plugin.py", line 100, in call
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/pyplot.py", line 1750, in imread
return _imread(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/image.py", line 1193, in imread
raise ValueError('Only know how to handle extensions: %s; with PIL installed matplotlib can handle more images' % handlers.keys())
ValueError: Only know how to handle extensions: ['png']; with PIL installed matplotlib can handle more images
On Apr 18, 2013, at 8:47 AM, Juan Nunez-Iglesias wrote:
> I think Zach knows better than I what the source of the error was, so he should probably handle it. ;)
>
>
> On Thu, Apr 18, 2013 at 12:52 PM, Stéfan van der Walt <stefan at sun.ac.za> wrote:
> Hi Juan
>
>
> On Apr 18, 2013 2:35 AM, "Juan Nunez-Iglesias" <jni.soma at gmail.com> wrote:
> > Yep, I've confirmed that your PR solved the problem for me! So I'll spare you that backtrace, Stefan. ;)
>
> Great! Now, for some extra brownie points and our eternal gratitude: a unit test?
>
> 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.
>
>
>
>
> --
> 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.
>
>
More information about the scikit-image
mailing list