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

(chore): add Index type to __getitem__ for sparse dataset #1648

Merged
merged 14 commits into from
Sep 17, 2024
Merged

Conversation

ilan-gold
Copy link
Contributor

Starting point. I think this should go in the next 0.11 release candidate (maybe along with your doc rendering fix @flying-sheep but doesn't have to). I would also be in favor of exporting this type since it is used elsewhere in quite important places.

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

Base automatically changed from abc to main September 4, 2024 09:09
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.41%. Comparing base (9391333) to head (fe8b6a1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1648      +/-   ##
==========================================
- Coverage   86.87%   84.41%   -2.47%     
==========================================
  Files          39       39              
  Lines        6033     6036       +3     
==========================================
- Hits         5241     5095     -146     
- Misses        792      941     +149     
Files with missing lines Coverage Δ
src/anndata/abc.py 100.00% <100.00%> (ø)
src/anndata/typing.py 100.00% <100.00%> (ø)

... and 8 files with indirect coverage changes

@flying-sheep flying-sheep added this to the 0.11.0 milestone Sep 5, 2024
@flying-sheep
Copy link
Member

With “doc rendering fix”, you mean making it so “TypeVar” gets rendered more nicely or … ?

@ilan-gold
Copy link
Contributor Author

ilan-gold commented Sep 17, 2024

With “doc rendering fix”, you mean making it so “TypeVar” gets rendered more nicely or … ?

YEs you had mentioned wanting it, and it maybe being a blocker? But I would merge as-is as well....so gonna request your review then...and if you want to block on it, ok

src/anndata/abc.py Outdated Show resolved Hide resolved
Co-authored-by: Philipp A. <flying-sheep@web.de>
@ilan-gold ilan-gold enabled auto-merge (squash) September 17, 2024 15:09
@ilan-gold ilan-gold merged commit 34e9783 into main Sep 17, 2024
14 checks passed
@ilan-gold ilan-gold deleted the ig/index_type branch September 17, 2024 16:13
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