mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-27 11:58:12 +08:00
[WIP] Patch for anndata 0.7 (#1132)
* Fix JSON encoding bug introduced by anndata 0.7 * Add anndata csr and csc classes to allowed matrix proxy inputs
This commit is contained in:
@@ -73,6 +73,8 @@ class MatrixProxy(_ArrayProxyBase):
|
||||
"numpy.ndarray": True,
|
||||
"scipy.sparse.csc.csc_matrix": True,
|
||||
"scipy.sparse.csr.csr_matrix": True,
|
||||
"anndata._core.sparse_dataset.backed_csr_matrix": "MatrixProxy_anndata_h5py",
|
||||
"anndata._core.sparse_dataset.backed_csc_matrix": "MatrixProxy_anndata_h5py",
|
||||
}
|
||||
proxy_registry = None
|
||||
last_cache_token = None
|
||||
|
||||
Reference in New Issue
Block a user