Skip to content

fix: support zarr3 format#141

Merged
tlambert03 merged 2 commits into
tlambert03:mainfrom
parallelArchitect:fix-cosem-zarr3-format
Jun 22, 2026
Merged

fix: support zarr3 format#141
tlambert03 merged 2 commits into
tlambert03:mainfrom
parallelArchitect:fix-cosem-zarr3-format

Conversation

@parallelArchitect

Copy link
Copy Markdown
Contributor

The COSEM API now returns format: "zarr3" for some images, which
the pydantic ImageFormat literal rejected as invalid. Hit this
while pulling jrc_hela-3 / er-mem_pred to validate #124 against
real data — unrelated to that fix, splitting out separately.

COSEM API now returns format: zarr3 for some images, which the
pydantic schema rejected as an invalid literal. Hit this while
fetching jrc_hela-3 / er-mem_pred to validate tlambert03#124 against real data.
@tlambert03 tlambert03 changed the title fix: add zarr3 to ImageFormat literal fix: support zarr3 format Jun 22, 2026
@tlambert03

Copy link
Copy Markdown
Owner

thanks @parallelArchitect! and thanks for #140 as well... I'll get to that next.
I pushed a couple additional changes to this branch to actually make the full read-path work for zarr3 data, and added a test. Will fix the pre-commit issue elsewhere

@tlambert03 tlambert03 merged commit 33e50b5 into tlambert03:main Jun 22, 2026
1 check failed
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.64%. Comparing base (8b0126b) to head (64de69d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #141      +/-   ##
==========================================
+ Coverage   83.57%   83.64%   +0.06%     
==========================================
  Files          47       47              
  Lines        3026     3032       +6     
==========================================
+ Hits         2529     2536       +7     
+ Misses        497      496       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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