Closed emdann closed 1 year ago
Update: I tried to fix the ethnicity annotation in cellxgene loader, but there's more to it coming from recent update of cellxgene schema.
One critical change seems to be that collection metadata no longer stores info on whether adata.X
is preprocessed or not in x_normalization
.
Thank you Emma, will implement the schema changes!
Update - I could replicate this in the unit tests, will try to push a fix soon!
Update, I expect to merge the fix into dev this week.
The fix is merged into dev
now and it seems working. We will need to be careful with using this with existing schema version 2 data sets but it should work well with data downloaded entirely under version 3. Let me know if any more issues come up, especially in continued work with version 2. I will wait with releasing until it is clear that this is stable on all applications.
Hi there, I'm trying to use the data loader to access cellxgene collections (following the tutorial). I've run this before without problems but now it throws a new
KeyError
. I think this has to do with the fact that cellxgene changed their metadata column toself_reported_ethnicity
.To Reproduce
Traceback:
System: