Skip to content

Add StoreV3 support to Group (zarr v3 support part 4) #896

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

Closed
wants to merge 12 commits into from

Conversation

grlee77
Copy link
Contributor

@grlee77 grlee77 commented Dec 1, 2021

This PR builds on top of #895, adding StoreV3 support to the Group class, and the group and open_group functions. Tests were refactored to perform equivalent tests for v3 groups.

A primary difference in behavior is that one cannot create a v3 group unless a path is specified.

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/tutorial.rst
  • Changes documented in docs/release.rst
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

Define the StoreV3 class and create v3 versions of most existing stores

Add a test_storage_v3.py with test classes inheriting from their v2
counterparts. Only a subset of methods involving differences in v3
behavior were overridden.
@codecov
Copy link

codecov bot commented Dec 1, 2021

Codecov Report

Merging #896 (2af0045) into master (e6483f9) will decrease coverage by 1.34%.
The diff coverage is 93.06%.

❗ Current head 2af0045 differs from pull request most recent head d3c523d. Consider uploading reports for the commit d3c523d to get more accurate results

@@            Coverage Diff             @@
##           master     #896      +/-   ##
==========================================
- Coverage   99.94%   98.59%   -1.35%     
==========================================
  Files          32       34       +2     
  Lines       11218    13486    +2268     
==========================================
+ Hits        11212    13297    +2085     
- Misses          6      189     +183     
Impacted Files Coverage Δ
zarr/tests/test_core.py 98.73% <29.41%> (-1.27%) ⬇️
zarr/tests/test_storage.py 99.92% <66.66%> (-0.08%) ⬇️
zarr/_storage/store.py 85.25% <77.69%> (-14.75%) ⬇️
zarr/meta.py 91.92% <81.74%> (-8.08%) ⬇️
zarr/creation.py 98.75% <84.61%> (-1.25%) ⬇️
zarr/storage.py 97.04% <89.15%> (-2.96%) ⬇️
zarr/hierarchy.py 97.90% <92.64%> (-2.10%) ⬇️
zarr/attrs.py 97.05% <92.68%> (-2.95%) ⬇️
zarr/tests/test_hierarchy.py 98.58% <94.89%> (-1.42%) ⬇️
zarr/core.py 99.73% <96.49%> (-0.27%) ⬇️
... and 7 more

@grlee77
Copy link
Contributor Author

grlee77 commented Mar 4, 2022

closing, these commits along with additional fixes and tests are incorporated in #898

@grlee77 grlee77 closed this Mar 4, 2022
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.

1 participant