Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Feb 2, 2024
1 parent 8cf2e49 commit fb6a5b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/changes/devel/12195.newfeature.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Add ability reject :class:`mne.Epochs` using callables.
Add ability reject :class:`mne.Epochs` using callables, by `Jacob Woessner`_.
2 changes: 1 addition & 1 deletion mne/utils/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def _getitem(
if isinstance(reason, str):
reason = (reason,)
reason = tuple(reason)
for i, idx in enumerate(np.setdiff1d(inst.selection, key_selection)):
for idx in 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 fb6a5b1

Please sign in to comment.