Skip to content

pop_importdata window: Enter comments button and two bold labels as in EEGLAB #756

Done

Description

@arnodelorme

Two differences remain between the window of pop_importdata in EEGPrep and in EEGLAB (File > Import data > From ASCII/float file or MATLAB array).

  • Comments: EEGLAB has an Enter comments button next to "About this dataset", which opens the comments editor. EEGPrep has a plain edit box.
  • Bold labels: "Data sampling rate (Hz)" and "Channel location file or info" are bold in EEGLAB and not in EEGPrep.
  • Fix: the button, with the same editor (pop_comments), and the two bold labels. Nothing else changes.
  • Arno, November 26, 2026: "Okay, fix."

The captures before and after are in the pull request and in #737.

Part of #737

Activity

  1. added
    gui-parity
    on Nov 27, 2026
  2. claude commented on Nov 27, 2026

    @claude
    Contributor

    🤖 Plan:

    • Research: EEGLAB pop_importdata.m row "About this dataset" uses {pushbutton "Enter comments" callback editcomments} (calls pop_comments(..., "Edit comments of current dataset"), keeps text in figure userdata); "Data sampling rate (Hz)" and "Channel location file or info" have fontweight bold.
    • Preflight: [GUI] Share dialog height among rows and add the pop_importdata note #722 touches the same dialog (geometry/note) but not the comments control or these labels; no overlap.
    • Test first: tests/test_stream9_gui_importers.py::test_pop_importdata_enter_comments_button_opens_pop_comments (Qt test; libEGL missing in this runner, so it runs in CI)
    • Fix: comments edit → tagged Enter comments pushbutton holding the text, wired via run_dialog_action to pop_comments; qt._run_dialog_action.update stores values on value-holding pushbuttons instead of relabelling them; two labels bold; changelog entry
    • pre-commit, ruff, non-GUI pop_importdata tests pass
    • PR [GUI] Add Enter comments button and bold labels to pop_importdata #759
    • CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gui-parity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions