Skip to content

Commit

Permalink
Test correaction
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Apr 9, 2024
1 parent 333c54a commit 8b1368a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/pipelines/test_team_3TR7.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]])
Expand All @@ -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]])
Expand Down

0 comments on commit 8b1368a

Please sign in to comment.