From dc017d5f469c75a2bde036f59920f23b39191c72 Mon Sep 17 00:00:00 2001 From: Harvey Devereux Date: Mon, 4 Nov 2024 15:26:51 +0000 Subject: [PATCH] rebase for vaf lags --- tests/test_correlator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_correlator.py b/tests/test_correlator.py index 8c35999f..dbc942a2 100644 --- a/tests/test_correlator.py +++ b/tests/test_correlator.py @@ -128,8 +128,8 @@ def test_vaf(tmp_path): vaf = safe_load(cor) vaf_na = np.array(vaf["vaf_Na"]["value"]) vaf_cl = np.array(vaf["vaf_Cl"]["value"]) - assert vaf_na * 3 == approx(vaf_post[0], rel=1e-5) - assert vaf_cl * 3 == approx(vaf_post[1], rel=1e-5) + assert vaf_na * 3 == approx(vaf_post[1][0], rel=1e-5) + assert vaf_cl * 3 == approx(vaf_post[1][1], rel=1e-5) def test_md_correlations(tmp_path):