From a6554b1bb3c58b377ba106adf7c5536514377293 Mon Sep 17 00:00:00 2001 From: Starlitnightly Date: Wed, 17 Jul 2024 19:42:31 +0800 Subject: [PATCH] Fixed the 'celltyep_key' error of `ov.pl.cpdb_group_heatmap` #109 --- tests/single/test_single.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/single/test_single.py b/tests/single/test_single.py index 69a9b8ba..bd50e02f 100644 --- a/tests/single/test_single.py +++ b/tests/single/test_single.py @@ -11,7 +11,7 @@ def test_pp(): adata=ov.pp.preprocess(adata,mode='shiftlog|pearson',n_HVGs=2000,) ov.pp.scale(adata) #ov.pp.pca(adata,layer='scaled',n_pcs=50) - assert adata.layer['scaled'] is not None + assert adata.layers['scaled'] is not None def test_anno():