Skip to content

Commit adc5f53

Browse files
authored
Fixes for the new update() (#104)
* update(): remove redundant code, fix some bugs and add tests * make update() work well when indices have duplicates - all tests now also test with duplicated entries - streamline update() to remove redundant code, duplicated calcuations - fix bugs and make it pass all tests * fix inserting modalities * fix deleting modalities * remove obsolete asserts * more comprehensive tests and fixes for _update_attr() * add test for extremely duplicated names * add tests for dtype * deduplicate processing of the map column * deduplicate reordering of data_mod and attrm * remove unnecessary boolean coercion * use inner functions * silence ruff false positives * minor simplification
1 parent 3ce89c7 commit adc5f53

File tree

4 files changed

+462
-304
lines changed

4 files changed

+462
-304
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers = [
2424
]
2525
dependencies = [
2626
"anndata >= 0.10.8",
27+
"pandas >= 1.4.0"
2728
]
2829
dynamic = ["version"]
2930

0 commit comments

Comments
 (0)