Skip to content

Commit 482eb8e

Browse files
committed
fixed bug
1 parent e7b3e79 commit 482eb8e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mne/tests/test_epochs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5365,7 +5365,8 @@ def test_mask_epochs_per_channel():
53655365

53665366
# test mask that contains floats instead of bool
53675367
float_mask = reject_mask.astype(float)
5368-
ep.mark_bad_epochs_by_channel(float_mask)
5368+
ep.mask_epochs_per_channel(float_mask)
5369+
53695370
data = ep.get_data()
53705371
assert np.all(np.isnan(data[1, 0, :])) and np.all(np.isnan(data[3, 2, :]))
53715372

0 commit comments

Comments
 (0)