Skip to content

fix: remove unused parameters in co_occurence#1121

Merged
selmanozleyen merged 8 commits intoscverse:mainfrom
selmanozleyen:fix/co-occurence-unused-params
Mar 11, 2026
Merged

fix: remove unused parameters in co_occurence#1121
selmanozleyen merged 8 commits intoscverse:mainfrom
selmanozleyen:fix/co-occurence-unused-params

Conversation

@selmanozleyen
Copy link
Member

fixes: #1110 and #1048 .

n_splits usage was removed here 32789ae

Copy link
Member

@flying-sheep flying-sheep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will break code that uses these parameters – sure they are unused, but you could warn first that they do nothing and will be removed, and then remove them later,

@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

❌ Patch coverage is 78.57143% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.96%. Comparing base (240dcfe) to head (7c4fec7).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/squidpy/_utils.py 72.72% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1121   +/-   ##
=======================================
  Coverage   72.96%   72.96%           
=======================================
  Files          38       38           
  Lines        6484     6496   +12     
  Branches     1151     1153    +2     
=======================================
+ Hits         4731     4740    +9     
- Misses       1270     1272    +2     
- Partials      483      484    +1     
Files with missing lines Coverage Δ
src/squidpy/gr/_ppatterns.py 78.01% <100.00%> (+0.09%) ⬆️
src/squidpy/_utils.py 57.21% <72.72%> (+0.96%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@selmanozleyen selmanozleyen force-pushed the fix/co-occurence-unused-params branch from 39163ff to 583bdcb Compare February 27, 2026 20:17
@selmanozleyen selmanozleyen requested a review from ilan-gold March 2, 2026 14:01
@selmanozleyen selmanozleyen requested review from timtreis and removed request for flying-sheep, ilan-gold and timtreis March 11, 2026 12:26
Copy link
Member

@timtreis timtreis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@selmanozleyen selmanozleyen merged commit 17a3b48 into scverse:main Mar 11, 2026
14 checks passed
selmanozleyen added a commit to selmanozleyen/squidpy that referenced this pull request Mar 11, 2026
* remove the params

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* recommit

* update nb

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

Unused parallelization parameters in co_occurrence

3 participants