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

Global spatialdata format version number? #356

Closed
LucaMarconato opened this issue Sep 19, 2023 · 1 comment
Closed

Global spatialdata format version number? #356

LucaMarconato opened this issue Sep 19, 2023 · 1 comment
Assignees

Comments

@LucaMarconato
Copy link
Member

@nilseling is working on extending existing R visualizers to support NGFF and the SpatialData format. He suggested to just add a version number for each element type, but to also bump a general version number when any of the element type changes in version.

CC @giovp

@giovp giovp self-assigned this Sep 22, 2023
@LucaMarconato
Copy link
Member Author

With #711 a different approach is used (so closing this issue). The SpatialData object is versioned at the root level, but the format is independent of the various elements. In this way the elements can be parsed independently, and if something changes at the root level this is reflected in the version number.

Practically, now we have a new 0.1 format for the root level. Nothing changes except for the new ability for the user for setting custom json-like data in SpatialData.attrs, which is automatically serialized in .zattrs.

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

2 participants