From d85d79344e8129b903007c62dabe57bc37c0f367 Mon Sep 17 00:00:00 2001 From: ktpolanski Date: Thu, 9 Nov 2023 10:24:01 +0000 Subject: [PATCH] use pbmc3k in tests, pbmc68k has scaled data in X --- test/test_pipeline.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/test_pipeline.py b/test/test_pipeline.py index 6e9d5d6..6e0dc03 100644 --- a/test/test_pipeline.py +++ b/test/test_pipeline.py @@ -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) @@ -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) @@ -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