Extending ImageSequence reader when only imageio (but not skimage/matplotlib) is installed#365
Extending ImageSequence reader when only imageio (but not skimage/matplotlib) is installed#365GenevieveBuckley wants to merge 5 commits intosoft-matter:mainfrom
Conversation
|
The problem is in |
This is the build log after adding an imageio fallback path to I haven't dug deeply into the errors yet, but I think it's something to do with the |
|
Also, should we consider making the order of preference for |
|
FYI: I've pushed an update to skip this test class for now while we sort the other stuff out, but this either needs to be fixed, or for a new test to be added covering the same functionality with imageio. |
|
Great catch, @GenevieveBuckley ! Yes, assuming that imageio's |
|
I think this is obsoleted by #392 which removes Matplotlib as a reader all together and adds a hard dependency on imageio. Thank you for this @GenevieveBuckley and sorry we did not get it merged 2 years ago. |
Closes #363
Adds a fallback path to imageio imread for
pims/image_sequence.pyThis is a "nice to have" extension of the current capabilities, aimed at allowing a lightweight minimal-ish set of pims dependencies that can cover most of the basic use cases (eg
tifffileandimageio) without requiring more heavyweight dependencies likescikit-image/matplotlibare also installed.