Skip to content

Commit 2da83bc

Browse files
committed
FIX: Better
1 parent 63dfae1 commit 2da83bc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/io/read_bci2k.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
BCI2000 is a general-purpose brain-computer interface (BCI) system widely
88
used in EEG research. The file is downloaded from the MNE testing data
99
repository using ``pooch``.
10-
1110
""" # noqa: D205 D400
1211

1312
# Authors: The MNE-Python contributors.
@@ -19,7 +18,7 @@
1918
import mne
2019

2120
# %%
22-
# First, we download the sample BCI2000 ``.dat`` file using :mod:`pooch`.
21+
# First, we download the sample BCI2000 ``.dat`` file using ``pooch``.
2322

2423
data_dir = mne.datasets.default_path() / "bci2k_data"
2524
data_dir.mkdir(exist_ok=True)

mne/io/tests/test_read_raw.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import pytest
1111

1212
from mne.datasets import testing
13-
from mne.io import read_raw
13+
from mne.io import read_raw, read_raw_bci2k
1414
from mne.io._read_raw import _get_readers, _get_supported, split_name_ext
1515

1616
base = Path(__file__).parents[1]
@@ -161,5 +161,6 @@ def test_all_reader_documented_in_docstring():
161161

162162
def test_bci2k():
163163
"""Test reading BCI2k files with read_raw."""
164+
read_raw_bci2k(bci2k_fname, preload=True) # smoke test: if this works, below should
164165
raw = read_raw(bci2k_fname, preload=True)
165166
assert "RawBCI2k" in repr(raw)

0 commit comments

Comments
 (0)