Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
Mar 25, 2025

Conversation

ilia-kats
Copy link
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)

Copy link

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 1 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
12 checks passed
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
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