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

Unable to get file size of local zarr files #63

Open
kcpevey opened this issue May 2, 2023 · 0 comments
Open

Unable to get file size of local zarr files #63

kcpevey opened this issue May 2, 2023 · 0 comments

Comments

@kcpevey
Copy link
Collaborator

kcpevey commented May 2, 2023

The napari-ome-zarr plugin doesn't store the path to a local zarr file in layer.source.path so once its loaded, we have no way of knowing the original path. Therefore, its not possible to get the local file size on disk for zarr files at this time.

If this is resolved in the upstream package, we have a method, napari_metadata._file_size.directory_size which can be used to determine the size of zarr files (which are actually a directory of files).

@kcpevey kcpevey mentioned this issue May 2, 2023
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