Skip to content

feat: base without X_#4076

Open
flying-sheep wants to merge 20 commits into
mainfrom
naked-base
Open

feat: base without X_#4076
flying-sheep wants to merge 20 commits into
mainfrom
naked-base

Conversation

@flying-sheep

@flying-sheep flying-sheep commented Apr 20, 2026

Copy link
Copy Markdown
Member

TODO:

@codecov

codecov Bot commented Apr 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.11905% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.89%. Comparing base (68eeb6a) to head (8dee00e).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/scanpy/plotting/_tools/scatterplots.py 50.00% 7 Missing ⚠️
src/scanpy/tools/_ingest.py 64.28% 5 Missing ⚠️
src/scanpy/external/tl/_trimap.py 33.33% 4 Missing ⚠️
src/scanpy/external/exporting.py 50.00% 3 Missing ⚠️
src/scanpy/tools/_draw_graph.py 85.71% 3 Missing ⚠️
src/scanpy/_utils/__init__.py 92.30% 1 Missing ⚠️
src/scanpy/plotting/_utils.py 66.66% 1 Missing ⚠️
src/scanpy/tools/_utils.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4076      +/-   ##
==========================================
+ Coverage   79.72%   79.89%   +0.17%     
==========================================
  Files         120      120              
  Lines       12833    12900      +67     
==========================================
+ Hits        10231    10307      +76     
+ Misses       2602     2593       -9     
Flag Coverage Δ
hatch-test.low-vers 78.95% <85.11%> (+0.16%) ⬆️
hatch-test.pre 79.76% <85.11%> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/scanpy/_settings/presets.py 90.84% <100.00%> (+7.89%) ⬆️
src/scanpy/experimental/pp/_normalization.py 94.50% <100.00%> (+0.18%) ⬆️
src/scanpy/experimental/pp/_recipes.py 100.00% <100.00%> (ø)
src/scanpy/neighbors/__init__.py 82.23% <100.00%> (+0.18%) ⬆️
src/scanpy/plotting/_tools/__init__.py 76.17% <100.00%> (ø)
src/scanpy/plotting/_tools/paga.py 64.26% <100.00%> (ø)
src/scanpy/preprocessing/_pca/__init__.py 92.16% <100.00%> (+0.19%) ⬆️
src/scanpy/tools/_diffmap.py 82.60% <100.00%> (+0.79%) ⬆️
src/scanpy/tools/_dpt.py 66.37% <100.00%> (+0.75%) ⬆️
src/scanpy/tools/_embedding_density.py 62.29% <100.00%> (ø)
... and 10 more

@flying-sheep flying-sheep changed the title WIP base without X_ base without X_ May 11, 2026
@flying-sheep flying-sheep added this to the 1.13.0 milestone May 11, 2026
@flying-sheep flying-sheep marked this pull request as ready for review June 23, 2026 13:32
@flying-sheep flying-sheep requested a review from ilan-gold June 23, 2026 13:33
@flying-sheep flying-sheep changed the title base without X_ feat: base without X_ Jun 23, 2026
@flying-sheep flying-sheep removed the request for review from ilan-gold June 23, 2026 13:57

@ilan-gold ilan-gold left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are these the only two places that this is the case anymore i.e., prepend _X? It seems to have been done for PCA, but not UMAP:

key_obsm, key_uns = ("X_umap", "umap") if key_added is None else [key_added] * 2
or am I misreading this?

Comment thread src/scanpy/tools/_utils.py Outdated
@flying-sheep flying-sheep requested a review from ilan-gold June 26, 2026 10:06
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.

Don't prepend "X_"

2 participants