Skip to content

Commit

Permalink
Fix misleading error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tsbinns committed Sep 10, 2024
1 parent 9c04f81 commit c861449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne_connectivity/spectral/epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ def spectral_connectivity_epochs(
if mode != "morlet": # FIXME: Add support for other TFR methods
raise ValueError(
"if `data` is an EpochsTFR object, the spectral method "
"must be 'cwt_morlet'"
"must be 'morlet'"
)
else:
if "taper" in data._dims: # FIXME: Add support for multitaper TFR
Expand Down

0 comments on commit c861449

Please sign in to comment.