Describe the bug
mudata v.0.2.3 version, anndata v0.9.2, calling mudata.update(), causing anadata data update failure, confirming that there are no duplicate data in the original data, generating duplicate data in line 799 now_index = pd.Index(now_values), triggering line 801 index_order = prev_index.get_indexer(now_index), pandas.errors.InvalidIndexError: Reindexing only valid with uniquely valued Index objects
To Reproduce
Steps to reproduce the behaviour.
Please provide exact steps to reproduce the bug in a clean Python environment. In case it's not clear what's causing this bug, please provide the data or the data generation procedure.
Sometimes it is not possible to share the data but usually it is possible to replicate problems on publicly available datasets or to share a subset of your data.
Expected behaviour
A clear and concise description of what you expected to happen.
System
OS: centOS
Python version :3.8.12
Versions of libraries involved :Anndata: v0.9.2 mudata: v0.2.3 pandas: v1.5.3
Additional context
Add any other context about the problem here.
Describe the bug mudata v.0.2.3 version, anndata v0.9.2, calling mudata.update(), causing anadata data update failure, confirming that there are no duplicate data in the original data, generating duplicate data in line 799 now_index = pd.Index(now_values), triggering line 801 index_order = prev_index.get_indexer(now_index), pandas.errors.InvalidIndexError: Reindexing only valid with uniquely valued Index objects
To Reproduce Steps to reproduce the behaviour.
Please provide exact steps to reproduce the bug in a clean Python environment. In case it's not clear what's causing this bug, please provide the data or the data generation procedure. Sometimes it is not possible to share the data but usually it is possible to replicate problems on publicly available datasets or to share a subset of your data.
Expected behaviour A clear and concise description of what you expected to happen.
System
Additional context Add any other context about the problem here.