Repository navigation
GUI data safety fixes (audit group 1) - #544
Conversation
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
pop_saveset resave now requires a .set filename, and File > Resave opens Save as for a dataset that was only imported. A non-.set path is not written. Co-authored-by: Suraj Ranganath <[email protected]>
The number field now jumps to that event or channel, including when Ok is pressed, so values from record 1 are not written onto another record. Co-authored-by: Suraj Ranganath <[email protected]>
pop_saveset creates a missing parent folder. A path that cannot be written raises an error naming the function and the path, and leaves the dataset unsaved. Co-authored-by: Suraj Ranganath <[email protected]>
File and Edit delete actions open the EEGLAB confirmation dialog and do nothing on cancel. The menu refuses to delete the only loaded dataset. Co-authored-by: Suraj Ranganath <[email protected]>
pop_fileio_brainvision_mat now follows the bva-io channel, rate, and marker layout. A .mat file it cannot parse raises an error instead of returning the wrong shape. Co-authored-by: Suraj Ranganath <[email protected]>
convertlocs returns a copy, so the import now keeps that copy and then drops the BESA angles, matching pop_loadbva.m:101-103. pop_loadbva.m:61-65 appends four channel records; this importer still appends one. Co-authored-by: Suraj Ranganath <[email protected]>
Arrow and goto navigation store the fields on screen, and Ok records every stored edit. A displayed latency of 0 is kept as a number. Co-authored-by: Suraj Ranganath <[email protected]>
LASTCOM stores the filename with repr, so Windows backslashes are escaped. The assertions now look for that quoted path. Co-authored-by: Suraj Ranganath <[email protected]>
This matches pop_saveset.m:126-127. Resave of a never-saved dataset still asks for a name. The changelog now describes the missing-folder check as hardening and notes pop_delset raises ValueError. Co-authored-by: Suraj Ranganath <[email protected]>
Qt no longer asks about the typed name. Typing test.edf writes test.set, and an existing test.set is the file the confirmation names. Co-authored-by: Suraj Ranganath <[email protected]>
da5947d to
8e21651
Compare
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
Before-merge retest evidence (Stream 1 / #546)Posted here so the DoD “post results on the PR” item is satisfied. Uploads are not possible with the current token; filenames below live under Hands-on GUI retest (eegprep vs EEGLAB 8ac485f6, America/Los_Angeles 2026-11-05)
(F36 typed-channel navigation shares the same helper; covered in the same pass: MATLAB reference suite (jamming, head
|
| Run | Sha | Passed | Failed | Skipped |
|---|---|---|---|---|
| develop baseline | 669139fa |
1714 | 1 | 13 |
| PR #544 head | 8e21651c |
1732 | 1 | 13 |
The single failure is the known test_average_reference_matches_matlab_on_64_channel_float32 (pop_reref float32 average-reference, max_abs 0.109375). Same on develop. No new failures. Logs: /workspace/pr544_matlab/pr544_8e21651c{,.out}.
Post-merge recheck on develop @ 24f0cf77
Checkout /workspace/check546 at 24f0cf77 (includes #544, #557 leftover, #563). Re-ran the S1 regression set and original bugs on real data:
- F14, F33, F35, F41/F88, F120: fixed; targeted pytest green.
- BVA leftover empty
ref/type: fixed in Stream 1 leftover: empty ref/type on BVA chanlocs #557 (b293f745);tests/test_pop_fileio_brainvision_mat.py9/9 passed. - Earlier harness shots from the
89eb4112pass (also under the same stream):S1_recheck_F14_*,S1_recheck_F33_*,S1_recheck_F35_*,S1_recheck_F41_*,S1_recheck_F120_*.
Issue #546 closed as completed after this note.
GUI data-safety fixes from the audit against EEGLAB 8ac485f6. Resave of a never-saved dataset opens Save as instead of overwriting a raw file, and any filename is stored as .set. Save as confirms the .set file that will be written, not the typed name. Event and channel edits stay on the record you leave and are all recorded on Ok. A save that does not write the file leaves the dataset unsaved. Delete dataset asks for confirmation. BrainVision Analyzer .mat import follows pop_loadbva and keeps the converted channel coordinates. The MATLAB reference suite was run on jamming against head 8e21651: 1732 passed, 1 failed (the known pop_reref float32 average-reference issue, same as develop), 13 skipped.