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 24, 2024
1 parent 45e1ed6 commit e329710
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mne/evoked.py
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,12 @@ def get_peak(
ch_names = [ch_name[:-1] + "X" for ch_name in ch_names[::2]]

ch_idx, time_idx, max_amp = _get_peak(
data, self.times, tmin, tmax, mode, strict=strict,
data,
self.times,
tmin,
tmax,
mode,
strict=strict,
)

out = (ch_names[ch_idx], time_idx if time_as_index else self.times[time_idx])
Expand Down

0 comments on commit e329710

Please sign in to comment.