You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the index is implicitly converted to str by anndata/_core/aligned_df.py:_gen_dataframe_df.
To prevent this, one needs to also do this implicit conversion before performing this check. I have done this in PR #1418 which currently has failing tests and is in draft.
.../lib/python3.10/site-packages/anndata/_io/specs/methods.py
ValueError: DataFrame.index.name ('column1') is also used by a column whose values are different. This is not supported. Please make sure the values are the same, or use a different name.
Error raised while writing key 'obs' of <class 'h5py._hl.group.Group'> to /
This issue has been automatically marked as stale because it has not had recent activity.
Please add a comment if you want to keep the issue open. Thank you for your contributions!
Please make sure these conditions are met
Report
The new ValueError check introduced in 0.10.6 causes anndata.Anndata to error out on write.
This is because the index is implicitly converted to str by
anndata/_core/aligned_df.py:_gen_dataframe_df
.To prevent this, one needs to also do this implicit conversion before performing this check. I have done this in PR #1418 which currently has failing tests and is in draft.
Code:
Traceback:
Versions
The text was updated successfully, but these errors were encountered: