Skip to content

Commit 69c00a0

Browse files
authored
ensemble args and remove _df
1 parent 680c39c commit 69c00a0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/test_eschr.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,11 @@ def test_consensus_cluster_leiden(bipartite_graph_array):
271271
def ensemble_args(zarr_loc_static):
272272
return {
273273
"zarr_loc": zarr_loc_static,
274+
"reduction": "pca",
275+
"metric": None,
274276
"ensemble_size": 3, # Small size for testing
277+
"k_range": (15, 150),
278+
"la_res_range": (25, 175)
275279
"nprocs": 1,
276280
"sparse": False
277281
}
@@ -313,7 +317,7 @@ def test_consensus(consensus_args):
313317
assert isinstance(all_clusterings, np.ndarray)
314318
assert all_clusterings.shape[0] == consensus_args["n"]
315319
# Should have multiple resolutions tested
316-
assert all_clusterings_df.shape[1] > 1
320+
assert all_clusterings.shape[1] > 1
317321

318322
# Test main consensus_cluster function
319323
def test_consensus_cluster_basic(adata, zarr_loc):

0 commit comments

Comments
 (0)