-
Notifications
You must be signed in to change notification settings - Fork 122
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
N5 attributes.json lacks n5 key for version #200
Comments
We should add that. Just a note that according to the Java code, the "n5" version attribute doesn't need to be set:
|
The n5 specification, item 3, clearly states the following.
While it is true that the reference implementation can read datasets from prior versions and regard the absence of a n5 attribute as pre-1.0.0, is it the intention of tensorstore to only implement n5 prior to v1.0.0 (ca. 2018)? |
zarr-python doesn't actually do anything with the version number, so it would be better to fix it to not fail if it is missing. That way it can also read older n5 datasets prior to the introduction of the Note that tensorstore doesn't distinguish between root vs non-root so we would need to just always write the attribute when creating an array. In fact it is not clear to me what purpose the version number serves, nor what changes, if any, were made from one version to the next. As far as I can see, the only change made to the specification is the introduction of the version number itself. |
I agree; I tried to see what the deltas were between any of the "versions" and from what I can tell, up to version 3.3 ish the README.md stated that the version number was always 1.0.0. |
yep, I think failing when the |
N5 datasets saved by tensorstore do not include a top level n5 key for the n5 version.
Here is the minimum working example of the problem.
Commands:
tensorstore_n5_issue.py:
pixi.toml:
The text was updated successfully, but these errors were encountered: