Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 23, 2024
1 parent a051beb commit 8d24469
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mne/tests/test_evoked.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,10 +597,14 @@ def test_get_peak():
evoked_all_neg_outlier.data[0, 15] = -1e-20
evoked_all_pos_outlier.data[0, 15] = 1e-20

ch_name, time_idx, max_amp = evoked_all_neg_outlier.get_peak(mode="max", return_amplitude=True)
ch_name, time_idx, max_amp = evoked_all_neg_outlier.get_peak(
mode="max", return_amplitude=True
)
assert_equal(max_amp, -1e-20)

ch_name, time_idx, min_amp = evoked_all_pos_outlier.get_peak(mode="min", return_amplitude=True)
ch_name, time_idx, min_amp = evoked_all_pos_outlier.get_peak(
mode="min", return_amplitude=True
)
assert_equal(min_amp, 1e-20)

# Test interaction between `mode` and `tmin` / `tmax`
Expand Down

0 comments on commit 8d24469

Please sign in to comment.