Skip to content

Commit 4767ff5

Browse files
committed
MAINT: Fix example [circle full] [skip azp] [skip actions]
1 parent b95fc4a commit 4767ff5

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

tutorials/clinical/60_sleep.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@
7575
[alice_files, bob_files] = fetch_data(subjects=[ALICE, BOB], recording=[1])
7676

7777
raw_train = mne.io.read_raw_edf(
78-
alice_files[0], stim_channel="Event marker", infer_types=True, preload=True
78+
alice_files[0],
79+
stim_channel="Event marker",
80+
infer_types=True,
81+
preload=True,
82+
verbose="error", # ignore issues with stored filter settings
7983
)
8084
annot_train = mne.read_annotations(alice_files[1])
8185

@@ -172,7 +176,11 @@
172176
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
173177

174178
raw_test = mne.io.read_raw_edf(
175-
bob_files[0], stim_channel="Event marker", infer_types=True, preload=True
179+
bob_files[0],
180+
stim_channel="Event marker",
181+
infer_types=True,
182+
preload=True,
183+
verbose="error",
176184
)
177185
annot_test = mne.read_annotations(bob_files[1])
178186
annot_test.crop(annot_test[1]["onset"] - 30 * 60, annot_test[-2]["onset"] + 30 * 60)

0 commit comments

Comments
 (0)