We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AttributeError
_plugin
Reader
When trying to print/display a BioImage when passing a custom reader, there is no _plugin attribute set:
BioImage
AttributeError: 'BioImage' object has no attribute '_plugin'
This is because self._plugin is not set in the else clause here: https://github.com/bioio-devs/bioio/blob/main/bioio/bio_image.py#L267-L279
self._plugin
else
Happy to fix it if you want!
Should be able to print in both cases!
from bioio import BioImage import bioio_tifffile img = BioImage("my_file.tiff") print(img) # All good img = BioImage("my_file.tiff", reader=bioio_tifffile.Reader) print(img) # AttributeError
The text was updated successfully, but these errors were encountered:
I think we would happily accept a pull request for this one! Thanks for finding the issue!
Sorry, something went wrong.
Apologies for the delay, but looks like this was fixed in #67, so closing!
No branches or pull requests
Describe the Bug
When trying to print/display a
BioImage
when passing a custom reader, there is no_plugin
attribute set:AttributeError: 'BioImage' object has no attribute '_plugin'
This is because
self._plugin
is not set in theelse
clause here: https://github.com/bioio-devs/bioio/blob/main/bioio/bio_image.py#L267-L279Happy to fix it if you want!
Expected Behavior
Should be able to print in both cases!
Reproduction
Environment
The text was updated successfully, but these errors were encountered: