From 9351bc57ce63d3d12a250919194971115807ec32 Mon Sep 17 00:00:00 2001 From: Filippo Utro <137520996+f-utro@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:31:08 -0500 Subject: [PATCH] Update test_ReVeaL.py fix pivot parameters requirements --- tests/test_ReVeaL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ReVeaL.py b/tests/test_ReVeaL.py index 6b44f67..5470bf7 100644 --- a/tests/test_ReVeaL.py +++ b/tests/test_ReVeaL.py @@ -69,7 +69,7 @@ def test_compute_mutational_load(): expected_df['count'] = [1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0] expected_df['samples'] = ['s1','s2','s4', 's1','s2','s4', 's1','s2','s4', 's1','s2','s4', 's1','s2','s4'] - assert_frame_equal(expected_df.pivot('samples', 'window', 'count').fillna(0), returned_df) + assert_frame_equal(expected_df.pivot(index='samples', columns='window', value='count').fillna(0), returned_df)