-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bioio-tiff-glob takes precedence over bioio-tifffile, but does not support the image #7
Comments
see bioio-devs/bioio-tiff-glob#7 for motivation
Thanks for reporting this. I believe we should convert this TypeError to be the equivalent of UnsupportedFileFormatError in order to make this behave as expected. |
Also Reader._is_supported_image should check for a properly glob-able path. |
@TimMonko I think this is partially resolved. A recent check of the plugin feasibility has
Indicating that tifffile is now the primary. Let me know if you see the same thing! going to look into the details... |
Edit: See next comment. This comment does not use #9 @BrianWhitneyAI, doesn't seem to be for me. What in the feasibility report tells you which is supposed to be the primary reader? Just going from top-to-bottom? If so, then That same image has the following plugin feasibility.
BUT, it tries to read with If I specify Not sure why, but the error is different in this install (just copying a small part of the traceback:
|
Checking out #9... Appears to fix this particular issue.
|
@TimMonko Yep, #9 should be good to go for your particular issue. Looking into this issue closer, we ordered plugins with the same file extension by the install date however this is done by the entry point which can cause some issues since it can get out of sync with your currently installed packages. If you set up a new environment and run the necessary Python in a location outside of one of the bioio-plugin repos then you'll see wherever plugin has been most recently installed at the top priority. |
Describe the Bug
I have an RGB image that I have been using for tests. It has been working with AICSImage, and now bioio (with bioio-tifffile). If I have bioio-tiff-glob installed, then this results in attempting to read in with bioio-tiff-glob, but the image can't be read. The RGB image in question
Expected Behavior
Either 1. bioio-tiff-glob recognizes that it does not support the image or 2. bioio-tifffile takes precedence since it is less niche in use, perhaps expecting an informed user to input bioio-tiff-glob.Reader if needed.
Reproduction
outputs this plugin matrix
this does not work (since it tries to use tiff-glob
error output
explicitly specifying bioio_tifffile.Reader works
successfuly loads an RGB image
Environment
The text was updated successfully, but these errors were encountered: