File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77BCI2000 is a general-purpose brain-computer interface (BCI) system widely
88used in EEG research. The file is downloaded from the MNE testing data
99repository using ``pooch``.
10-
1110""" # noqa: D205 D400
1211
1312# Authors: The MNE-Python contributors.
1918import 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
2423data_dir = mne .datasets .default_path () / "bci2k_data"
2524data_dir .mkdir (exist_ok = True )
Original file line number Diff line number Diff line change 1010import pytest
1111
1212from mne .datasets import testing
13- from mne .io import read_raw
13+ from mne .io import read_raw , read_raw_bci2k
1414from mne .io ._read_raw import _get_readers , _get_supported , split_name_ext
1515
1616base = Path (__file__ ).parents [1 ]
@@ -161,5 +161,6 @@ def test_all_reader_documented_in_docstring():
161161
162162def 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 )
You can’t perform that action at this time.
0 commit comments