Skip to content

Use OpenMS-Insight Table for large tables - #38

Open
hjn0415a wants to merge 1 commit into
OpenMS:mainfrom
hjn0415a:feature/insight-tables
Open

hjn0415a wants to merge 1 commit into
OpenMS:mainfrom
hjn0415a:feature/insight-tables

Conversation

@hjn0415a

Copy link
Copy Markdown
Contributor

Replace st.dataframe with a server-side paginated Insight Table so only the visible page is sent to the browser on full-scale datasets.

  • Add show_insight_table() in common.py (also used by show_table()): reuses the on-disk cache unless the data changed, converts pandas to Polars and handles special column names
  • Switch Filtering, Imputation, Normalization, Statistical, PCA, Pathway/Enrichment and ProteomicsLFQ tables to it
  • Render results from session_state outside the button block, since Insight components trigger a rerun on first render that would otherwise clear them
  • Document the convention in CLAUDE.md and add unit tests

Replace st.dataframe with a server-side paginated Insight Table so only
the visible page is sent to the browser on full-scale datasets.

- Add show_insight_table() in common.py (also used by show_table()): reuses
  the on-disk cache unless the data changed, converts pandas to Polars and
  handles special column names
- Switch Filtering, Imputation, Normalization, Statistical, PCA,
  Pathway/Enrichment and ProteomicsLFQ tables to it
- Render results from session_state outside the button block, since
  Insight components trigger a rerun on first render that would otherwise
  clear them
- Document the convention in CLAUDE.md and add unit tests

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 736c6b9f-c267-40df-a46e-53d733dd6378


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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