Skip to content

Conversation

marcovarrone
Copy link
Contributor

Description

  • Change flavor option in calculate_niche to cellcharter_simple` for CellCharter
  • Default distance = 3 for cellcharter_simple.

How has this been tested?

pytest runs successfully.
However, I see there are no unit tests for calculate_niche with cellcharter (now cellcharter_simple).

Closes

Closes #977

@codecov-commenter
Copy link

codecov-commenter commented Mar 24, 2025

Codecov Report

❌ Patch coverage is 25.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.56%. Comparing base (adba136) to head (69d7d1b).
⚠️ Report is 173 commits behind head on main.

Files with missing lines Patch % Lines
src/squidpy/gr/_niche.py 14.28% 2 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #978      +/-   ##
==========================================
- Coverage   67.67%   66.56%   -1.12%     
==========================================
  Files          40       40              
  Lines        5863     6048     +185     
  Branches     1114     1012     -102     
==========================================
+ Hits         3968     4026      +58     
- Misses       1596     1663      +67     
- Partials      299      359      +60     
Files with missing lines Coverage Δ
src/squidpy/_constants/_constants.py 100.00% <100.00%> (ø)
src/squidpy/gr/_niche.py 34.86% <14.28%> (+20.34%) ⬆️

... and 10 files 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.

Change CellCharter name and default values
2 participants