Re: Test error with tifffile plugin
On Tue, May 29, 2012 at 8:18 PM, Tony Yu <tsyu80@gmail.com> wrote:
Hmm, I don't think so. It looks like `skimage.io._plugins.plugin.call` looks in `skimage.io.plugin_store`. But `plugin_store` is populated by the first installed plugin in a list of preferred plugins. Whatever matches, takes over all io operations (more or less). If that plugin doesn't provide `imread_collection`, then that entry in `plugin_store` remains empty. (In other words, after accepting a plugin, there's no additional check afterwards to fill in the functions not provided by that plugin.)
That's not the way it should behave; we should fix it to transparently fall back to whatever is available.
Is there any reason why there's no default `imread_collection` which just passes arguments to `ImageCollection`?
No, that would probably make sense. And I think ImageCollection uses the plugin version of imread. Stéfan
participants (1)
-
Stéfan van der Walt