Skip to content

Fix compatibility pre-0.1 spatialdata store#1012

Merged
LucaMarconato merged 2 commits intomainfrom
fix/compatibility_pre_0.1
Nov 3, 2025
Merged

Fix compatibility pre-0.1 spatialdata store#1012
LucaMarconato merged 2 commits intomainfrom
fix/compatibility_pre_0.1

Conversation

@LucaMarconato
Copy link
Member

Old spatialdata stores (e.g. the mouse_liver dataset from spatialdata-sandbox), didn't use versioning for the spatialdata container. Still, the reading is equivalent to SpatialDataContainerFormatV01.

This PR fixes this.

@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.07%. Comparing base (79cf8c9) to head (59a688e).
⚠️ Report is 36 commits behind head on main.

Files with missing lines Patch % Lines
src/spatialdata/_io/io_zarr.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1012      +/-   ##
==========================================
- Coverage   92.08%   92.07%   -0.02%     
==========================================
  Files          48       48              
  Lines        7446     7448       +2     
==========================================
+ Hits         6857     6858       +1     
- Misses        589      590       +1     
Files with missing lines Coverage Δ
src/spatialdata/_io/io_zarr.py 92.23% <66.66%> (-0.84%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LucaMarconato LucaMarconato merged commit 0128c29 into main Nov 3, 2025
8 checks passed
@LucaMarconato LucaMarconato deleted the fix/compatibility_pre_0.1 branch November 3, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant