Open Dario-Rocha opened 8 months ago
Sorry for the late reply, looks like we missed this over the winter break. I've moved this over to anndata since it doesn't seem to involve scanpy.
Can you provide any more info here? If you can't recreate the object, can you share the file?
And can we get a full traceback?
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
What happened?
Subsetting an anndata object with .copy() or trying to add variables to the .obs of a subsetted anndata object, results in
I cannot reproduce the error with randomly generated data or with some other datasets (sometimes it works though) and I cannot figure out what is wrong and/or how to fix the datatsets that generate the error. Saving the anndata object into a new file and reloading it doesn't fix the issue
The anndata object is
adata
adata.X
Minimal code sample
Error output
Versions