Skip to content
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

napari reader preferences are not respected #41

Closed
maweigert opened this issue Apr 12, 2022 · 3 comments
Closed

napari reader preferences are not respected #41

maweigert opened this issue Apr 12, 2022 · 3 comments

Comments

@maweigert
Copy link

Hi,

When drag/drop a zarr folder into napari while multiple plugins capable of reading zarr exists, the napari reader preference dialog is currently always displayed, without the option of saving the choice as part of the preferences (which is expected behavior).

I guess that might be due to a napari.manifest missing that would register a filename pattern, so simply adding this might already solve the issue.

Cheers,
M

PS: thanks a lot for the plugin, it's very useful!

@joshmoore
Copy link
Member

Hey @maweigert. Thanks for the heads up! I assume this is equivalent to #27 (cc: @DragaDoncila) though now there are tools!

@maweigert
Copy link
Author

Yep, napari.manifestshould register the reader (and filter for file extension, although I don't know whether that currently works for directory names as well)

joshmoore added a commit to joshmoore/napari-ome-zarr that referenced this issue Apr 13, 2022
joshmoore added a commit that referenced this issue May 9, 2022
Convert to npe2 (Fix #27 and #41)
@will-moore
Copy link
Member

With https://github.com/ome/napari-ome-zarr/blob/main/napari_ome_zarr/napari.yaml using latest (not released yet) this seems to be working for me now:

Drag a folder onto napari for the first time:

Screenshot 2022-07-22 at 14 35 01

After that, I can drag other path/to/image.zarr/ folders onto napari and they open without showing the dialog again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants