-
Notifications
You must be signed in to change notification settings - Fork 28
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
UI for selecting reader plugin #41
Comments
one difficult challenge is how do we store this info? naively, it could be a map of extension to plugin... but that glosses over a lot of the power in the |
Yeah I tend to agree that associating by extension isn't the best option. I feel like we should actually check that a reader function is returned for npe2 plugins as well. Otherwise we risk iterating compatible readers by extension - user picks one - that one fails, and now it's associated so you have to go into preferences to change it. Could we somehow associate by extension and the |
^Of course we'd be trading off responsiveness there - and also the whole "not running code until we need to" concept |
sure, sounds good. just go one step beyond
that sounds like a great idea! |
I think the responsiveness will be fine.
that is true for npe2 readers, and something that would be nice to avoid. Maybe just use the |
Yep, I like that. |
closing now that napari/napari#3799 is merged |
Proposal:
iter_compatible_readers
cc @DragaDoncila @nclack
The text was updated successfully, but these errors were encountered: