Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added validation check for inf/nan radius for shapes #653

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

LucaMarconato
Copy link
Member

Nan or inf values for radii in shapes (circles) were passing validation and potentially leading to bugs downstream, such as one reported for Xenium 2.0.0 data: scverse/spatialdata-io#173.

@LucaMarconato LucaMarconato merged commit 278810a into main Aug 1, 2024
6 of 7 checks passed
@LucaMarconato LucaMarconato deleted the fix/nan_inf_radius_shapes branch August 1, 2024 13:23
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.97%. Comparing base (a404343) to head (7c59025).
Report is 33 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #653   +/-   ##
=======================================
  Coverage   89.96%   89.97%           
=======================================
  Files          44       44           
  Lines        6768     6770    +2     
=======================================
+ Hits         6089     6091    +2     
  Misses        679      679           
Files with missing lines Coverage Δ
src/spatialdata/models/models.py 87.93% <100.00%> (+0.05%) ⬆️

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant