pop_importevent (File > Import event info > From MATLAB array or ASCII file): graphical and numerical parity with EEGLAB

Open Beginner friendly
#790 2 comments 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 with src/eegprep/functions/popfunc/pop_importevent.py near line 46, and compare the import form behavior with EEGLAB’s functions/popfunc/pop_importevent.m around lines 160 and 186. Reproduce the import with tutorial_eventtable.txt, including an invalid header and a canceled submission. Done means invalid input remains editable, reserved names are documented as lowercase, column order is explained, and 100 events match EEGLAB’s types and latencies without altering EEG or history.

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_importevent, File menu: Import event info > From MATLAB array or ASCII 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: An invalid field name closes the form and loses the selected inputs. The example shows two fields for the three-column tutorial file.
  • Numbers: With lowercase field names, all 100 imported event types and latencies matched EEGLAB.
  • What remains: Keep the file and settings available for correction. Explain that the reserved fields latency and type must be lowercase and that names follow the file column order.
  • 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): On the tutorial recording, choose tutorial_eventtable.txt, enter Latency Type Position, skip one header line and click Ok.

Done when: Correct the same form to latency type position and import all 100 events with matching types and latencies. The failed submission and Cancel must leave EEG and history intact.

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.