Skip to content

Commit

Permalink
Update mne/epochs.py
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Larson <[email protected]>
  • Loading branch information
withmywoessner and larsoner authored Jan 10, 2024
1 parent a685b89 commit 65778d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ def _get_data(
is_good, bad_tuple = self._is_good_epoch(epoch, verbose=verbose)
if not is_good:
assert isinstance(bad_tuple, tuple)
assert all(isinstance(x, (str, tuple)) for x in bad_tuple)
assert all(isinstance(x, str)) for x in bad_tuple)
drop_log[sel] = drop_log[sel] + bad_tuple
continue
good_idx.append(idx)
Expand Down

0 comments on commit 65778d1

Please sign in to comment.