Skip to content

Commit a5dbdef

Browse files
[misc] Prepare for 1.12.0 release (#1061)
* [misc] Prepare for 1.12.0 release * Update tiledbsoma to 1.9.1 * Set tiledbsoma version to 1.9.0 to pass unit tests * Use new re-indexer class in tiledbsoma 1.9.1 * Remove placeholder comment
1 parent aa1439f commit a5dbdef

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

api/python/cellxgene_census/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies= [
3131
# NOTE: the tiledbsoma version must be >= to the version used in the Census builder, to
3232
# ensure that the assets are readable (tiledbsoma supports backward compatible reading).
3333
# Make sure this version does not fall behind the builder's tiledbsoma version.
34-
"tiledbsoma~=1.8.0",
34+
"tiledbsoma~=1.9.1",
3535
"anndata",
3636
"numpy>=1.21",
3737
"requests",

api/python/cellxgene_census/src/cellxgene_census/experimental/_embedding.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def get_embedding(
126126
embedding_shape = (len(obs_soma_joinids), E.shape[1])
127127
embedding = np.full(embedding_shape, np.NaN, dtype=np.float32, order="C")
128128

129-
obs_indexer = soma.tiledbsoma_build_index(obs_soma_joinids, context=E.context)
129+
obs_indexer = soma.IntIndexer(obs_soma_joinids, context=E.context)
130130
for tbl in E.read(coords=(obs_soma_joinids,)).tables():
131131
obs_idx = obs_indexer.get_indexer(tbl.column("soma_dim_0").to_numpy())
132132
feat_idx = tbl.column("soma_dim_1").to_numpy()

api/python/cellxgene_census/src/cellxgene_census/experimental/pp/_highly_variable_genes.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ def _highly_variable_genes_seurat_v3(
8989
n_batches = len(batch_index.cat.categories)
9090
n_samples = batch_index.value_counts().loc[batch_index.cat.categories.to_numpy()].to_numpy()
9191
if n_batches > 1:
92-
batch_indexer = soma.tiledbsoma_build_index(
93-
batch_index.index.to_numpy(), context=query.experiment.context
94-
).get_indexer
92+
batch_indexer = soma.IntIndexer(batch_index.index.to_numpy(), context=query.experiment.context).get_indexer
9593
batch_codes = batch_index.cat.codes.to_numpy().astype(np.int64)
9694
else:
9795
n_batches = 1

api/r/cellxgene.census/DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: cellxgene.census
22
Title: CZ CELLxGENE Discover Cell Census
3-
Version: 1.11.1
3+
Version: 1.12.0
44
Authors@R:
55
person("Chan Zuckerberg Initiative Foundation", email = "[email protected]",
66
role = c("aut", "cre", "cph", "fnd"))

0 commit comments

Comments
 (0)