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
It’s confusing that it only(?) happens with X and doesn’t happen with other arrays like that (e.g. .obsm["key"])
importdask.arrayasdafromanndataimportAnnDataadata_src=AnnData(da.array(...))
adata=adata_src[:5]
adata.X=adata.X.compute() # should raise ImplicitModificationWarningassertisinstance(adata.X, np.array) # AssertionError: adata.X is a Dask Array
Please make sure these conditions are met
Report
It’s confusing that it only(?) happens with X and doesn’t happen with other arrays like that (e.g.
.obsm["key"]
)cc @jan-engelmann
Versions
The text was updated successfully, but these errors were encountered: