Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 9, 2023
1 parent 7295add commit e8a4e0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mne/io/cnt/cnt.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def read_raw_cnt(
header : ``'auto'`` | ``'new'`` | ``'old'``
Defines the header format. Used to describe how bad channels
are formatted. If auto, reads using old and new header and
if either contain a bad channel make channel bad.
if either contain a bad channel make channel bad.
Defaults to ``'auto'``.
%(preload)s
%(verbose)s
Expand Down Expand Up @@ -477,7 +477,7 @@ class RawCNT(BaseRaw):
header : ``'auto'`` | ``'new'`` | ``'old'``
Defines the header format. Used to describe how bad channels
are formatted. If auto, reads using old and new header and
if either contain a bad channel make channel bad.
if either contain a bad channel make channel bad.
Defaults to ``'auto'``.
%(preload)s
stim_channel : bool | None
Expand Down
3 changes: 1 addition & 2 deletions mne/io/cnt/tests/test_cnt.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ def test_auto_data():

with pytest.warns(RuntimeWarning, match="number of bytes"):
raw = _test_raw_reader(
read_raw_cnt, input_fname=fname, eog="auto",
misc=["NA1", "LEFT_EAR"]
read_raw_cnt, input_fname=fname, eog="auto", misc=["NA1", "LEFT_EAR"]
)

# make sure we use annotations event if we synthesized stim
Expand Down

0 comments on commit e8a4e0f

Please sign in to comment.