From 8b1368afed3be4bda572494629a1e803eb2045d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Tue, 9 Apr 2024 15:55:09 +0200 Subject: [PATCH] Test correaction --- tests/pipelines/test_team_3TR7.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/pipelines/test_team_3TR7.py b/tests/pipelines/test_team_3TR7.py index 3b43427f..2f2a0069 100644 --- a/tests/pipelines/test_team_3TR7.py +++ b/tests/pipelines/test_team_3TR7.py @@ -68,12 +68,12 @@ def test_subject_information(): # Compare bunches to expected bunch = info[0] assert isinstance(bunch, Bunch) - assert bunch.conditions == ['gamble_run1'] + assert bunch.conditions == ['gamble'] helpers.compare_float_2d_arrays(bunch.onsets, [[4.071, 11.834, 19.535, 27.535, 36.435]]) helpers.compare_float_2d_arrays(bunch.durations, [[4.0, 4.0, 4.0, 4.0, 4.0]]) assert bunch.amplitudes is None assert bunch.tmod is None - assert bunch.pmod[0].name == ['gain_run1', 'loss_run1'] + assert bunch.pmod[0].name == ['gain', 'loss'] assert bunch.pmod[0].poly == [1, 1] helpers.compare_float_2d_arrays(bunch.pmod[0].param, [[14.0, 34.0, 38.0, 10.0, 16.0], [6.0, 14.0, 19.0, 15.0, 17.0]]) @@ -82,12 +82,12 @@ def test_subject_information(): bunch = info[1] assert isinstance(bunch, Bunch) - assert bunch.conditions == ['gamble_run2'] + assert bunch.conditions == ['gamble'] helpers.compare_float_2d_arrays(bunch.onsets, [[4.071, 11.834, 19.535, 27.535, 36.435]]) helpers.compare_float_2d_arrays(bunch.durations, [[4.0, 4.0, 4.0, 4.0, 4.0]]) assert bunch.amplitudes is None assert bunch.tmod is None - assert bunch.pmod[0].name == ['gain_run2', 'loss_run2'] + assert bunch.pmod[0].name == ['gain', 'loss'] assert bunch.pmod[0].poly == [1, 1] helpers.compare_float_2d_arrays(bunch.pmod[0].param, [[14.0, 34.0, 38.0, 10.0, 16.0], [6.0, 14.0, 19.0, 15.0, 17.0]])