Skip to content

Commit 9bdd02f

Browse files
committed
Update libtiledbsoma unit tests
1 parent a8bb90b commit 9bdd02f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libtiledbsoma/test/test_query_condition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_query_condition_int():
5454

5555
def test_query_condition_string():
5656
uri = os.path.join(SOMA_URI, "obs")
57-
condition = "louvain == b'NK cells'"
57+
condition = "louvain == 'NK cells'"
5858

5959
pandas = pandas_query(uri, condition)
6060

@@ -90,7 +90,7 @@ def test_query_condition_and():
9090

9191
def test_query_condition_and_or():
9292
uri = os.path.join(SOMA_URI, "obs")
93-
condition = "(percent_mito > 0.02 and n_genes > 700) or (percent_mito < 0.015 and louvain == b'B cells')"
93+
condition = "(percent_mito > 0.02 and n_genes > 700) or (percent_mito < 0.015 and louvain == 'B cells')"
9494

9595
pandas = pandas_query(uri, condition)
9696

0 commit comments

Comments
 (0)