mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 19:18:11 +08:00
@@ -366,7 +366,7 @@ def create_emb(e_name, emb):
|
|||||||
dims = []
|
dims = []
|
||||||
for d in range(emb.ndim):
|
for d in range(emb.ndim):
|
||||||
shape = emb.shape
|
shape = emb.shape
|
||||||
dims.append(tiledb.Dim("", domain=(0, shape[d] - 1), tile=min(shape[d], 1000), dtype=np.uint32))
|
dims.append(tiledb.Dim(domain=(0, shape[d] - 1), tile=min(shape[d], 1000), dtype=np.uint32))
|
||||||
domain = tiledb.Domain(*dims)
|
domain = tiledb.Domain(*dims)
|
||||||
schema = tiledb.ArraySchema(
|
schema = tiledb.ArraySchema(
|
||||||
domain=domain, sparse=False, attrs=attrs, capacity=1_000_000, cell_order="row-major", tile_order="row-major"
|
domain=domain, sparse=False, attrs=attrs, capacity=1_000_000, cell_order="row-major", tile_order="row-major"
|
||||||
|
|||||||
@@ -17,6 +17,6 @@ pandas>=0.24.2
|
|||||||
PyYAML>=5.3
|
PyYAML>=5.3
|
||||||
scipy>=1.3.0
|
scipy>=1.3.0
|
||||||
requests>=2.22.0
|
requests>=2.22.0
|
||||||
tiledb==0.5.9
|
tiledb>=0.5.9,!=0.6.0
|
||||||
s3fs>=0.4.2
|
s3fs>=0.4.2
|
||||||
gunicorn>=20.0.4
|
gunicorn>=20.0.4
|
||||||
|
|||||||
Reference in New Issue
Block a user