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 10, 2024
1 parent 98b92c4 commit 44fdf8a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mne/utils/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ def _getitem(
if isinstance(reason, str):
reason = (reason,)
reason = tuple(reason)
for i, idx in enumerate(
np.setdiff1d(inst.selection, key_selection)
):
for i, idx in enumerate(np.setdiff1d(inst.selection, key_selection)):
drop_log[idx] = reason
inst.drop_log = tuple(drop_log)
inst.selection = key_selection
Expand Down

0 comments on commit 44fdf8a

Please sign in to comment.