Skip to content

Commit

Permalink
Update error messages to include EEGLAB format
Browse files Browse the repository at this point in the history
  • Loading branch information
laemtl committed Nov 22, 2023
1 parent b96c489 commit cc23db3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mne_bids/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -1471,9 +1471,9 @@ def write_raw_bids(
Controls the file format of the data after BIDS conversion. If
``'auto'``, MNE-BIDS will attempt to convert the input data to BIDS
without a change of the original file format. A conversion to a
different file format (BrainVision, EDF, or FIF) will only take place
different file format (BrainVision, EDF, EEGLAB or FIF) will only take place
when the original file format lacks some necessary features. Conversion
can be forced to BrainVision or EDF for (i)EEG, and to FIF for MEG
can be forced to BrainVision or EDF, EEGLAB for (i)EEG, and to FIF for MEG
data.
symlink : bool
Instead of copying the source files, only create symbolic links to
Expand Down Expand Up @@ -1721,7 +1721,7 @@ def write_raw_bids(
else:
msg = (
'For preloaded data, you must set the "format" parameter '
"to one of: BrainVision, EDF, or FIF"
"to one of: BrainVision, EDF, EEGLAB or FIF"
)
if format != "auto": # the default was changed
msg += f', but got: "{format}"'
Expand Down

0 comments on commit cc23db3

Please sign in to comment.