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
adata.var.index.name or adata.var_names.name can be other than None, as I noticed with a publicly available dataset.
SCEPIA expects this column to be called "index" (see code below where this throws an error) which would be the case with adata.var.index.name=None.
Solution could be to set adata.var.index.name to None within SCEPIA, if we change the index column name within SCEPIA, we should do the same for the adata.raw. Or change the code without the hardcoded "index".
Lines in sc.py where the index column name is taken from the adata object
adata.var.index.name or adata.var_names.name can be other than None, as I noticed with a publicly available dataset.
SCEPIA expects this column to be called "index" (see code below where this throws an error) which would be the case with
adata.var.index.name=None
.Solution could be to set adata.var.index.name to None within SCEPIA, if we change the index column name within SCEPIA, we should do the same for the adata.raw. Or change the code without the hardcoded "index".
Lines in sc.py where the index column name is taken from the adata object
Lines 612-617 in sc.py where the error is thrown
Throws a
KeyError: 'index'
The text was updated successfully, but these errors were encountered: