Commit adc5f53
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 simplification1 parent 3ce89c7 commit adc5f53
File tree
4 files changed
+462
-304
lines changed- src/mudata/_core
- tests
4 files changed
+462
-304
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments