Skip to content

Add StoreV3 support to creation.py (zarr v3 support part 5) #897

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 27 commits into from

Conversation

grlee77
Copy link
Contributor

@grlee77 grlee77 commented Dec 1, 2021

This PR builds on #896 adding v3 support to the high-level array creation routines.

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 #897 (2af0045) into master (de7858a) will decrease coverage by 1.34%.
The diff coverage is 93.06%.

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

@@            Coverage Diff             @@
##           master     #897      +/-   ##
==========================================
- Coverage   99.94%   98.59%   -1.35%     
==========================================
  Files          32       34       +2     
  Lines       11216    13486    +2270     
==========================================
+ Hits        11210    13297    +2087     
- 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 9 more

@grlee77 grlee77 mentioned this pull request Dec 1, 2021
6 tasks
@pep8speaks
Copy link

pep8speaks commented Dec 15, 2021

Hello @grlee77! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-12-17 22:35:47 UTC

@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.

2 participants