spatialdata
spatialdata copied to clipboard
Change: fixed the read_zarr function for zarr.Group objects
The spatial_data.read_zarr function raises an error when trying to read a Group from zarr version 2.18.7 as it tries to turn the Group into a Path object directly when Group is not a PathLike object. This adds a check to prevent this bug.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 92.39%. Comparing base (7604a3d) to head (b22de3f).
:warning: Report is 7 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #962 +/- ##
==========================================
+ Coverage 92.14% 92.39% +0.24%
==========================================
Files 48 48
Lines 7473 7440 -33
==========================================
- Hits 6886 6874 -12
+ Misses 587 566 -21
| Files with missing lines | Coverage Δ | |
|---|---|---|
| src/spatialdata/_io/io_zarr.py | 88.46% <100.00%> (ø) |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.