Skip to content

Navigator: Session > Tables submenu (mirrors VH-Lab/NDI-matlab#1243) - #369

Merged
stevevanhooser merged 2 commits into
mainfrom
claude/clever-thompson-jbn91v
Nov 13, 2026
Merged

stevevanhooser merged 2 commits into
mainfrom
claude/clever-thompson-jbn91v

Conversation

@stevevanhooser

Copy link
Copy Markdown
Contributor

Brings NDI-python in line with VH-Lab/NDI-matlab#1244 (VH-Lab/NDI-matlab#1243, NDI-matlab commit c5174ab).

What

  • ndi/gui/nav/datasets_pane.py: the session node's Session submenu gains Tables with Elements..., Epochs..., Probes..., Subjects... and Treatments.... New show_session_table(node, kind) (MATLAB showSessionTable) reports errors through the navigator alert rather than raising them.
  • ndi/gui/nav/session_table.py (new, MATLAB ndi.gui.nav.sessionTable): the SessionTable window builds the ndi.fun.doc_table table and shows it in a QTableWidget. It has Assign to workspace... (into __main__, the navigator's workspace) and Export CSV.... The helpers are module functions: table_kinds, kind_info, compute_table, summary_text, table_cells, cell_text, session_ref.
  • Bridge: a new sessionTable entry and an update to datasetsPane (sync hash c5174ab). One difference from MATLAB: MATLAB shows a progress dialog while the table is built, and Python doesn't (its ingest_session_node doesn't show one either).

INTERFACE UPDATE: I have modified the bridge contract for sessionTable (new) and datasetsPane to reflect the MATLAB source.

Tests

  • tests/test_gui_nav_session_table.py (new): the table kinds and their order, kind_info, cell and table formatting, the first-output rule in compute_table, assigning and exporting, and an offscreen window build.
  • tests/test_gui_nav_datasets_pane.py: the Session submenu now ends with "Tables"; the Tables submenu items are checked; a failed table is reported, not raised.

Locally, black, ruff, the new tests, all test_gui_nav_* tests and test_matlab_bridge_status.py pass. Two exceptions, which fail on main as well under the PySide6 6.12 I had installed: test_gui_nav_cloud_pane (four-pane stack) and test_gui_nav_progress_session (grid stretch).


Generated by Claude Code

…-Lab/NDI-matlab#1243)

The session node's Session submenu gains Tables (Elements..., Epochs...,
Probes..., Subjects..., Treatments...), each building the matching
ndi.fun.doc_table table and showing it in the new
ndi.gui.nav.session_table.SessionTable window, which can assign the
DataFrame to a workspace variable or export it as CSV. Bridge entries
added/updated for sessionTable and datasetsPane.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011v7R5vMzBN3Wnupnj4kY9n
@stevevanhooser
stevevanhooser merged commit e66aaa5 into main Nov 13, 2026
15 checks passed
@stevevanhooser
stevevanhooser deleted the claude/clever-thompson-jbn91v branch November 13, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants