I'm a little sad that we can't include bioformats in the extension list.
Since we can't modify this list based on plugins, here's a proposed path forward:
- include in the list the union of extensions declared by readers of all plugins compatible with that version of napari.
- if we can't open a file with what's installed, use npe2 to check at open time which plugins declare compatibility with the current extension, and show the relevant message to the user: "napari can't open this file with the currently installed plugins. However, these plugins may provide readers for the given file: [list of plugins]"
- bonus points if the plugins can directly be installed from that dialog
- super bonus points if readers don't require a restart and we can just open the file directly after the plugin install
CC @jaimergp @Czaki @DragaDoncila @psobolewskiPhD @TimMonko
Note: this will probably require making sub-issues in napari/napari, npe2, and napari-plugin-manager, but since all this work is in service of the OS association, I'll leave it here in packaging for now.
Originally posted by @jni in #284 (comment)
I'm a little sad that we can't include bioformats in the extension list.
Since we can't modify this list based on plugins, here's a proposed path forward:
CC @jaimergp @Czaki @DragaDoncila @psobolewskiPhD @TimMonko
Note: this will probably require making sub-issues in napari/napari, npe2, and napari-plugin-manager, but since all this work is in service of the OS association, I'll leave it here in packaging for now.
Originally posted by @jni in #284 (comment)