Skip to content

Commit b17d245

Browse files
committed
more consistent formatting in docstrings and messages
1 parent 6f26a9f commit b17d245

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mne_bids/read.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -947,9 +947,9 @@ def read_raw_bids(
947947
is present in the ``*_events.tsv`` file, it will be used as the source of the
948948
integer event ID values (events with ``value="n/a"`` will be omitted).
949949
on_ch_mismatch : str
950-
How to handle a mismatch between channel names in ``channels.tsv`` file
950+
How to handle a mismatch between channel names in channels.tsv file
951951
and channel names in the raw data file.
952-
Must be one of {'raise', 'reorder', 'rename'}. Default is 'raise'.
952+
Must be one of ``'raise'``, ``'reorder'``, ``'rename'`` (default ``'raise'``).
953953
954954
* ``'raise'`` will raise a RuntimeError if there is a channel mismatch.
955955
* ``'reorder'`` will reorder the channels in the raw data file to match the
@@ -984,7 +984,7 @@ def read_raw_bids(
984984
If the specified ``datatype`` cannot be found in the dataset.
985985
986986
RuntimeError
987-
If ``channels.tsv`` and the raw file have a channel-name mismatch
987+
If channels.tsv and the raw file have a channel-name mismatch
988988
and ``on_ch_mismatch`` is 'raise'.
989989
"""
990990
if not isinstance(bids_path, BIDSPath):

0 commit comments

Comments
 (0)