Skip to content

Scope MNE converter temp files and drop demo helpers - #186

Closed
claude[bot] wants to merge 1 commit into
developfrom
agent/20260610-fix-181
Closed

claude[bot] wants to merge 1 commit into
developfrom
agent/20260610-fix-181

Conversation

@claude

@claude claude Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Wrap pop_saveset and MNE export calls in tempfile.TemporaryDirectory so eeg_eeg2mne and eeg_mne2eeg no longer leak intermediate .set files or sidecars in the system temp dir, and remove the in-module test_eeg_* demo functions that hardcoded local macOS paths. Adds regression tests asserting the converters leave no artifacts behind.

Fixes #181

Wrap pop_saveset/MNE export in tempfile.TemporaryDirectory so the
intermediate .set and any sidecar files are removed when eeg_eeg2mne
and eeg_mne2eeg return. Drop the in-module test_eeg_* demo functions
that hardcoded local macOS paths. Adds regression tests asserting the
converters leave no artifacts in the system temp dir.

Fixes #181
@suraj-ranganath

Copy link
Copy Markdown
Member

🤖 Closing as redundant. PR #177 now includes scoped TemporaryDirectory bridge files for the MNE converters and removes the hard-coded demo helpers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up MNE converter temp files and demo code

1 participant