File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,7 +271,11 @@ def test_consensus_cluster_leiden(bipartite_graph_array):
271271def 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
319323def test_consensus_cluster_basic (adata , zarr_loc ):
You can’t perform that action at this time.
0 commit comments