Skip to content

Commit c95171e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d5cd2ad commit c95171e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mne/utils/mixin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,9 @@ def time_as_index(self, times, use_rounding=None):
538538
# FutureWarning,
539539
# )
540540
if index != np.round(index):
541-
raise RuntimeError(f"This would have returned a different value: {index=}, different from {np.round(index)=}.")
541+
raise RuntimeError(
542+
f"This would have returned a different value: {index=}, different from {np.round(index)=}."
543+
)
542544
use_rounding = True
543545

544546
if use_rounding:

0 commit comments

Comments
 (0)