pop_importpres (File > Import event info > From Presentation .LOG file): graphical and numerical parity with EEGLAB

Open Beginner friendly
#789 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
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
data

Research direction

Start at src/eegprep/functions/popfunc/pop_importpres.py around line 131, where Presentation log columns are converted into event records, and compare it with the referenced EEGLAB implementation. Reproduce the issue using the continuous tutorial dataset and pres_TEST.LOG, then ensure duplicate Uncertainty columns receive distinct EEGLAB-style field names without changing column order or empty cells. Done means the imported data can be saved and reloaded with both uncertainty fields present, including an empty second value, while all 159 event types and latencies still match.

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_importpres, File menu: Import event info > From Presentation .LOG 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: Importing a Presentation log accepts two columns named Uncertainty.
  • Numbers: The first Picture row contains 2 and 3. EEGPrep keeps only 3. EEGLAB saves Uncertainty = 2 and Uncertainty2 = 3. All 159 event types and latencies matched.
  • What remains: Give the duplicate column its EEGLAB field name before constructing the event records. Preserve column order and empty cells.
  • 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): Load the continuous tutorial dataset and import pres_TEST.LOG with Event Type and Time. Inspect the first Picture event.

Done when: Save and reload. Check both uncertainty fields in the first Picture event, a row with an empty second value and all 159 types and latencies.

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.