Skip to content

Conversation

@MSHelm
Copy link

@MSHelm MSHelm commented Dec 12, 2025

I tried my hand to fix #1030

This should handle all instances where we want to have a DataArray after parsing a RasterSchema model. For DataTrees the chunking is handled in to_multiscale

As I am new to your codebase I hope I adhered to all your guidelines. If not I am happy about any comments what I could improve.

@codecov
Copy link

codecov bot commented Dec 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.13%. Comparing base (53b9438) to head (61573c3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1031      +/-   ##
==========================================
+ Coverage   92.11%   92.13%   +0.01%     
==========================================
  Files          49       49              
  Lines        7537     7539       +2     
==========================================
+ Hits         6943     6946       +3     
+ Misses        594      593       -1     
Files with missing lines Coverage Δ
src/spatialdata/models/models.py 88.61% <100.00%> (+0.04%) ⬆️

... and 1 file with indirect coverage changes

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

The chunks parameter is ignored for DataArray models inheriting from RasterSchema

1 participant