This commit is contained in:
2026-03-21 22:22:01 -07:00
parent 540793d150
commit 8d893f846e
2 changed files with 6 additions and 2 deletions

View File

@@ -1676,7 +1676,7 @@ def fold_channels(raw: BaseRaw) -> None:
# Locate the fOLD excel files
if getattr(sys, 'frozen', False):
set_config('MNE_NIRS_FOLD_PATH', resource_path("../../mne_data/fOLD/fOLD-public-master/Supplementary")) # type: ignore
set_config('MNE_NIRS_FOLD_PATH', resource_path("/mne_data/fOLD/fOLD-public-master/Supplementary")) # type: ignore
else:
path = os.path.expanduser("~") + "/mne_data/fOLD/fOLD-public-master/Supplementary"
set_config('MNE_NIRS_FOLD_PATH', resource_path(path)) # type: ignore