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

Upgrade to zarr-python 3 #7

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Upgrade to zarr-python 3 #7

merged 1 commit into from
Feb 5, 2025

Conversation

pmplewa
Copy link
Collaborator

@pmplewa pmplewa commented Feb 4, 2025

This is essentially a re-write of the plugin that makes it compatible with zarr-python 3 and simplifies it somewhat. I had to drop the tifffile backend (for now) because tifffile is not yet compatible with this version, but I added two new backends to compensate, openslide and wsidicom, next to to the updated rasterio backend. The main classes are OpenSlideStore, RasterioStore and WSIDicomStore.

As a new feature, in addition to the support of DICOM images, I added support for ICC color profiles (for both the openslide and wsidicom backends, see the ColorTransform class).

This also replaces poetry with uv for dependency management.

Copy link
Collaborator

@robertschweizer robertschweizer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only went through this superficially, commented on two minor things.

pyproject.toml Show resolved Hide resolved
napari_wsi/errors.py Outdated Show resolved Hide resolved
@pmplewa pmplewa merged commit 5588b60 into main Feb 5, 2025
3 checks passed
@pmplewa pmplewa deleted the zarr-3 branch February 5, 2025 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants