Skip to content

fix outer concatenation along var when varm is not empty#1911

Merged
ilan-gold merged 5 commits into
scverse:mainfrom
ilia-kats:concat_outer_var
Mar 25, 2025
Merged

fix outer concatenation along var when varm is not empty#1911
ilan-gold merged 5 commits into
scverse:mainfrom
ilia-kats:concat_outer_var

Conversation

@ilia-kats
Copy link
Copy Markdown
Contributor

@ilia-kats ilia-kats commented Mar 13, 2025

The problem was that the code assumed that there is only one concatenation axis throughout. However, when concatenating varm, there is a difference between the AnnData concatenation axis (1) and the varm concatenation axis (0).

  • Closes #
  • Tests added
  • Release note added (or unnecessary)

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.41%. Comparing base (eea9002) to head (9b70312).
Report is 44 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1911      +/-   ##
==========================================
- Coverage   86.51%   84.41%   -2.10%     
==========================================
  Files          45       45              
  Lines        6798     6802       +4     
==========================================
- Hits         5881     5742     -139     
- Misses        917     1060     +143     
Files with missing lines Coverage Δ
src/anndata/_core/merge.py 84.50% <100.00%> (-9.47%) ⬇️

... and 6 files with indirect coverage changes

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

@ilan-gold ilan-gold added this to the 0.11.4 milestone Mar 25, 2025
@ilan-gold ilan-gold enabled auto-merge (squash) March 25, 2025 10:04
@ilan-gold ilan-gold merged commit a5deb2a into scverse:main Mar 25, 2025
meeseeksmachine pushed a commit to meeseeksmachine/anndata that referenced this pull request Mar 25, 2025
ilan-gold added a commit that referenced this pull request Mar 25, 2025
… empty (#1936)

Co-authored-by: ilia-kats <ilia-kats@gmx.net>
Co-authored-by: Ilan Gold <ilanbassgold@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants