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

OME-Zarr output should write consolidated metadata #388

Open
carsten-jahn opened this issue Nov 15, 2024 · 0 comments
Open

OME-Zarr output should write consolidated metadata #388

carsten-jahn opened this issue Nov 15, 2024 · 0 comments

Comments

@carsten-jahn
Copy link

In data_utils/ome.py, the functions rgb_img_to_ome_zarr and multiplex_img_to_ome_zarr write a zarr-formatted image.

Both functions could consolidate the zarr metadata by adding the line

zarr.consolidate_metadata(z_root.store)

at the end of the function.

I don't know if there are any drawbacks. But this change would make the zarr output compatible which image readers that assume consolidated metadata exists.

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

1 participant