Skip to content

Commit

Permalink
edit test for kmeans clustering as defauls have changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitjohnson committed Dec 23, 2023
1 parent 3fbeabc commit 5011613
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scimap/tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys, os
import anndata as ad

#os.chdir ("/Users/aj/Dropbox (Partners HealthCare)/packages/scimap")
#os.chdir ("/Users/aj/Dropbox (Partners HealthCare)/nirmal lab/softwares/scimap")

@pytest.fixture
def adata():
Expand Down Expand Up @@ -74,7 +74,7 @@ def test_cluster(adata):
a = adata.obs['kmeans'].value_counts()[4]

#test
assert a == 261
assert a == 259

# Testing spatial_interaction function
def test_spatial_interaction(adata):
Expand Down

0 comments on commit 5011613

Please sign in to comment.