Skip to content

Commit

Permalink
doc: clarify bids split naming
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Nov 5, 2024
1 parent 2983d2a commit 5c7c05c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mne/utils/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4218,9 +4218,12 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75):
docdict["split_naming"] = """
split_naming : 'neuromag' | 'bids'
When splitting files, append a filename partition with the appropriate
naming schema: for ``'neuromag'``, a split file ``fname.fif`` will be named
``fname.fif``, ``fname-1.fif``, ``fname-2.fif`` etc.; while for ``'bids'``,
it will be named ``fname_split-01.fif``, ``fname_split-02.fif``, etc.
naming schema. For ``'neuromag'``, a split file ``fname.fif`` will be named
``fname.fif``, ``fname-1.fif``, ``fname-2.fif``, and so on. For ``'bids'``,
a filename is expected to consist of parts separated by underscores, like
``<part-1>_<part-N>_suffix.fif``, and the according split naming will
return filenames like ``<part-1>_<part-N>_split-01_suffix.fif``,
``<part-1>_<part-N>_split-02_suffix.fif``, and so on.
"""

docdict["src_eltc"] = """
Expand Down

0 comments on commit 5c7c05c

Please sign in to comment.