Skip to content

Conversation

brokkoli71
Copy link
Member

@brokkoli71 brokkoli71 commented Sep 30, 2025

This PR adds:

  • Groups for v2 (fixes [v2] Groups #19)
  • static open function that auto-detects the Zarr version
  • remove zarrita from tests
  • add missing static create and open methods to match JZarr (with Path and String representation of Store)
  • replace print statements with assertions in some v3 tests

Furthermore, the multi-inheritance strategy of v3.Array from core.Array and v3.Node was changed so that v3.Node is now an interface and core.Array is now an abstract class. Similar changes were made to v3.Codec, v2.Codec, and v2.Array.

(this PR is on top of #22)

@brokkoli71 brokkoli71 mentioned this pull request Sep 30, 2025
5 tasks
@brokkoli71 brokkoli71 marked this pull request as draft September 30, 2025 11:26
@normanrz normanrz changed the base branch from main to v2-core-features September 30, 2025 13:14
@brokkoli71 brokkoli71 changed the base branch from v2-core-features to main October 2, 2025 18:11
@brokkoli71 brokkoli71 marked this pull request as ready for review October 6, 2025 14:44

StoreHandle storeHandle();
protected CodecPipeline codecPipeline;
protected abstract ArrayMetadata metadata();
Copy link
Contributor

@dominikl dominikl Oct 7, 2025

Choose a reason for hiding this comment

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

Could this be made public (same for Group.metadata()), then the public metadata field in the implementation could be made private/protected instead? At the moment it's tricky to access the metadata (need explicit cast to v2.Array or v3.Array and access public metadata field).

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

Successfully merging this pull request may close these issues.

[v2] Groups
3 participants