Closed brianraymor closed 1 year ago
I assume "a key" means any key?
I assume "a key" means any key?
Yes since this causes RDS conversion failures - https://github.com/chanzuckerberg/single-cell-curation/issues/597#issue-1842192464
Do we have an existing test case dataset for any of these?
Not to my knowledge. When I was playing around with it, I realized that it also needed to meet other anndata requirements like obsm embeddings must be the same length as obs like:
adata.obsm['test'] = numpy.zeros((adata.n_obs, 0))
adata.obsm['test'].size
@jahilton thank you for these notebooks. They have been invaluable in reproducing the errors.
@jahilton @corismall read for QA
LGTM - QA notebook
obsm
(Embeddings)The size of the ndarray stored for a key in
obsm
MUST NOT be zero.obsp
The size of the ndarray stored for a key in
obsp
MUST NOT be zero.varm
The size of the ndarray stored for a key in
varm
MUST NOT be zero.varp
The size of the ndarray stored for a key in
varp
MUST NOT be zero.