Skip to content

Commit

Permalink
use pbmc3k in tests, pbmc68k has scaled data in X
Browse files Browse the repository at this point in the history
  • Loading branch information
ktpolanski committed Nov 9, 2023
1 parent bdf6446 commit d85d793
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

def test_calculate_qc():
# create test data
adata = sc.datasets.pbmc68k_reduced()
adata = sc.datasets.pbmc3k()

# test that calculate_qc adds expected columns to adata.obs and adata.var
calculate_qc(adata)
Expand All @@ -39,7 +39,7 @@ def test_calculate_qc():

def test_generate_qc_clusters():
# create test data
adata = sc.datasets.pbmc68k_reduced()
adata = sc.datasets.pbmc3k()

# test that generate_qc_clusters adds expected columns to adata.obs and adata.obsm
calculate_qc(adata)
Expand Down Expand Up @@ -76,9 +76,10 @@ def test_fit_gaussian():

def test_cellwise_qc():
# Load example dataset
adata = sc.datasets.pbmc68k_reduced()
adata = sc.datasets.pbmc3k()

# Test default metrics
calculate_qc(adata)
cellwise_qc(adata)
assert "cell_passed_qc" in adata.obs.columns

Expand Down

0 comments on commit d85d793

Please sign in to comment.