Skip to content

breaking: clarify obs handling + change output keys#115

Merged
ilan-gold merged 4 commits intomainfrom
ig/obs_defaults
Jan 19, 2026
Merged

breaking: clarify obs handling + change output keys#115
ilan-gold merged 4 commits intomainfrom
ig/obs_defaults

Conversation

@ilan-gold
Copy link
Copy Markdown
Collaborator

No description provided.

@ilan-gold ilan-gold requested a review from felix0097 January 19, 2026 10:52
@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.44%. Comparing base (fe1a6a4) to head (013dd7d).
⚠️ Report is 56 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #115      +/-   ##
==========================================
+ Coverage   92.41%   92.44%   +0.02%     
==========================================
  Files           6        6              
  Lines         620      622       +2     
==========================================
+ Hits          573      575       +2     
  Misses         47       47              
Files with missing lines Coverage Δ
src/annbatch/loader.py 91.98% <100.00%> (+0.06%) ⬆️
src/annbatch/types.py 100.00% <100.00%> (ø)
src/annbatch/utils.py 86.81% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ilan-gold ilan-gold changed the title chore: clarify obs handling breaking: clarify obs handling + change output keys Jan 19, 2026
@ilan-gold ilan-gold enabled auto-merge (squash) January 19, 2026 11:08
@ilan-gold ilan-gold merged commit 709a61d into main Jan 19, 2026
8 of 9 checks passed
@ilan-gold ilan-gold deleted the ig/obs_defaults branch January 19, 2026 11:12
selmanozleyen pushed a commit to selmanozleyen/annbatch that referenced this pull request Jan 19, 2026
* chore: clarify obs handling

* chore: clearer docs

* fix: rename
selmanozleyen pushed a commit to selmanozleyen/annbatch that referenced this pull request Jan 19, 2026
* chore: clarify obs handling

* chore: clearer docs

* fix: rename
selmanozleyen pushed a commit to selmanozleyen/annbatch that referenced this pull request Jan 19, 2026
* chore: clarify obs handling

* chore: clearer docs

* fix: rename
ilan-gold added a commit that referenced this pull request Jan 22, 2026
* resolve conflicts with main

* load_obs thing was removed by auto formatting

* update tests to resolve conflict

* readthedocs merge

* chore: clarify compatibility of `h5ad` + forward compat of old shuffled `zarr` (#114)

* chore: clarify compatibility of `h5ad` + forward compat of old shuffled `zarr`

* chore: version

* fix: docs

* clarify warning

* fix: more

* fix: `add_anndata`

* fix: `h5ad` compat

* breaking: clarify obs handling + change output keys (#115)

* chore: clarify obs handling

* chore: clearer docs

* fix: rename

* fix: header level (#116)

* merge changes

* apply suggestions

* checkout readme from main

* breaking: clarify obs handling + change output keys (#115)

* chore: clarify obs handling

* chore: clearer docs

* fix: rename

* parent 627eb08
author selmanozleyen <syozleyen@gmail.com> 1768761446 +0100
committer selmanozleyen <syozleyen@gmail.com> 1768846971 +0100

resolve conflicts with main

update tests to resolve conflict

readthedocs merge

merge changes

apply suggestions

checkout readme from main

* restore from main

* fix: checking out: confused origin and upstream again...

* continuation of the upstream origin confusion fix

* breaking: clarify obs handling + change output keys (#115)

* chore: clarify obs handling

* chore: clearer docs

* fix: rename

* fix: header level (#116)

* refactor _prepare_dataset_and_obs

* update docstring for loadrequest

* separate files for samplers

* prepare_output is no longer needed

* clarify docs

* fix overlook: already sorted batch_indices no need to resort them

* fix prepare_output refactor

* add todo

* rename from leftover to remainder for clarity. since there is no leftover

* simplify validate_sampler

* remove old generic params

* add broad typing

* clarify todos and add username

* type and modify decorator

* no need for lambdas in decorators

* make decorator compatible in multiple cases

* put ABC in abc folder

* update test with the fix

* qualname for fix. no sampler in public API

* check coverage when shuffled otherwise also check order

* fix to prev commit

* clarify doc

* update worker tests

* new * location for ChunkSampler

* add typing but can revert if too verbose

* remove unused fields. (maybe linter check can be added)

* remove old SO link

* don't put generators into np.all !!

* apply typing and docstring suggestion

* change in folder structure

* make batch sampler getter

* remove empty line

* apply docstring suggestions for Loader args

* remove empty line

* conf.py is same as main

* change shuffle

* remove todo

* update to match old behaviour

* put vstack inside accumulate chunks

---------

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant