From f9984d0105a82a429b1858b586edf97eab20442b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 08:17:58 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_tools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_tools.py b/tests/test_tools.py index a915217..dfb871c 100644 --- a/tests/test_tools.py +++ b/tests/test_tools.py @@ -165,6 +165,8 @@ def test_infercnv_more_than_2_chunks(adata_full_mock, gene_res_actual, x_res_act np.testing.assert_array_equal(per_gene_mtx.toarray()[3], np.array([0, 0, 0, 0, 0, 0.921875, 0.703125, 0, 0, 0])) np.testing.assert_array_equal(res.toarray(), x_res_actual) assert chr_pos == {"chr1": 0, "chr2": 3}, "chr_pos is not as expected" + + def test_infercnv_manual_reference(adata_oligodendroma): cnv.tl.infercnv(adata_oligodendroma, reference=np.ones(adata_oligodendroma.shape[1]))