Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Jun 25, 2024
1 parent 87ed2a6 commit 5329ecb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def test_build_cellarrdataset():

genes = gfp.df[:]

assert len(genes) == 1000

gene_list = ["gene_1", "gene_95", "gene_50"]
_genes_from_tile = genes["cellarr_gene_index"].tolist()
# print(_genes_from_tile)
Expand All @@ -70,3 +72,7 @@ def test_build_cellarrdataset():
sfp = tiledb.open(f"{tempdir}/sample_metadata", "r")
samples = sfp.df[:]
assert len(samples) == 2

cellfp = tiledb.open(f"{tempdir}/cell_metadata", "r")
cell_df = cellfp.df[:]
assert len(cell_df) == 1100

0 comments on commit 5329ecb

Please sign in to comment.