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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of anndata.
(optional) I have confirmed this bug exists on the master branch of anndata.
Report
Code:
adata.obs["y"] =np.array(...)
should not add a coord when .obs is a Dataset2D (and the current behavior allows adding it as a coord if it is not the normal xarray tuple syntax). When you do this at the moment, you run into our check against having multiple dimensions
Please make sure these conditions are met
Report
Code:
should not add a coord when
.obs
is aDataset2D
(and the current behavior allows adding it as a coord if it is not the normal xarray tuple syntax). When you do this at the moment, you run into our check against having multiple dimensionsanndata/src/anndata/_core/xarray.py
Lines 38 to 39 in ec65081
adata.obs
subsequently.Traceback:
Versions
The text was updated successfully, but these errors were encountered: