Skip to content

[ENH] Improving HTML for results visualization - #11

Merged
elementare merged 2 commits into
mainfrom
improving_visualizer
Mar 10, 2026
Merged

[ENH] Improving HTML for results visualization#11
elementare merged 2 commits into
mainfrom
improving_visualizer

Conversation

@jvsguerra

@jvsguerra jvsguerra commented Mar 10, 2026

Copy link
Copy Markdown
Member

This pull request introduces a new feature to automatically open the interactive dashboard in the default web browser after execution, controlled by a new CLI flag. It also includes some cleanup and minor changes to example configuration and dependencies.

New Feature: Dashboard Auto-Open

  • Added a --dashboard CLI flag to enable automatic opening of the interactive dashboard in the default web browser after execution (MHCXGraph/cli/cli_parser.py, MHCXGraph/app.py). [1] [2]
  • Implemented logic in main() to open the dashboard HTML file(s) using the webbrowser module, depending on the run mode (MHCXGraph/app.py). [1] [2]

Maintenance and Cleanup

  • Commented out the call to save filtered subgraph views as HTML in create_graphs, due to the implementation of dashboard which contains all the graphs MHCXGraph/utils/preprocessing.py).
  • Removed the unused pyvis dependency from pyproject.toml, due to the change from pyvis to vis-network.js and 3dmol.js present in the assets folder (pyproject.toml).

Example and Configuration Updates

  • Updated the example manifest to use "run_mode": "all" instead of "pair" for demonstration purposes (examples/minimal/manifest.json).

@jvsguerra jvsguerra added the enhancement New feature or request label Mar 10, 2026
@elementare
elementare merged commit 84f571a into main Mar 10, 2026
9 checks passed
@elementare
elementare deleted the improving_visualizer branch March 10, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants