diff --git a/mne/utils/mixin.py b/mne/utils/mixin.py index bf2b9f6b7a1..e62b2a57a6a 100644 --- a/mne/utils/mixin.py +++ b/mne/utils/mixin.py @@ -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