pop_loadbva (File > Import data > From Brain Vis. Anal. Matlab file): graphical and numerical parity with EEGLAB

Open Beginner friendly
#787 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
desktop-dev

Research direction

Start at pop_loadbva.m and eegplugin_bva_io.m, then trace the import action from menu_actions.py. Reproduce with brainvision_recorder_acquisitiondataformat_raw_data.mat and inspect EEG.history after accepting the dataset. Done means the import is recorded once, the new-dataset command remains in session history, direct imports still work, and signals, markers, LASTCOM, ALLCOM and CURRENTSET remain correct after save and reload; cancelling must not change the dataset count.

Written by the indexing model from the issue text.

Description

function-parity

EEGPrep checks each EEGLAB function on its own, in one issue, for both the window and the numbers (Arno, November 26, 2026). This issue is pop_loadbva, File menu: Import data > From Brain Vis. Anal. Matlab file. It stays open until the window and the numbers are both acceptably close to EEGLAB's, even when a pull request is merged or closed.

  • Window: Accepting one BrainVision Analyzer import writes the processing command twice.
  • Numbers: The samples and all 16 markers matched EEGLAB in the audit. EEGLAB passes LASTCOM to new-dataset storage once.
  • What remains: Record the import once when accepting the dataset. Keep the new-dataset command in session history and preserve direct imports. The same storage path is relevant to #738 and #739.
  • Menu issue: #696. The progress of every function is in the table of https://github.com/adelorme-assistant/project_eegprep#progress-of-the-port
Findings of the report for this function

Repro on develop (aa81d9ab): Import brainvision_recorder_acquisitiondataformat_raw_data.mat, accept the new dataset and inspect the last two lines of EEG.history.

Done when: Save and reload the dataset. Count one import line, compare the signal and all markers, and check LASTCOM, ALLCOM and CURRENTSET. Cancel during import should leave the dataset count unchanged.

Files
Dominant language
Python
Stars
38
Forks
10
Avg merge
18h 23m
Merged PRs (30d)
218

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sccn/eegprep

All issues in sccn/eegprep

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.