fix to fold and memory leaks

This commit is contained in:
2026-01-29 22:30:28 -08:00
parent f82978e2e8
commit 92973da658
4 changed files with 177 additions and 168 deletions

View File

@@ -1577,7 +1577,7 @@ def resource_path(relative_path):
def fold_channels(raw: BaseRaw, progress_callback=None) -> None:
def fold_channels(raw: BaseRaw) -> None:
# if getattr(sys, 'frozen', False):
path = os.path.expanduser("~") + "/mne_data/fOLD/fOLD-public-master/Supplementary"
@@ -1706,8 +1706,6 @@ def fold_channels(raw: BaseRaw, progress_callback=None) -> None:
landmark_specificity_data = []
if progress_callback:
progress_callback(idx + 1)
# TODO: Fix this
if True: