Skip to content

Add support to trigger pause from widgets#27

Merged
PardhavMaradani merged 1 commit into
MDAnalysis:mainfrom
PardhavMaradani:add-pause-support
Jul 8, 2026
Merged

Add support to trigger pause from widgets#27
PardhavMaradani merged 1 commit into
MDAnalysis:mainfrom
PardhavMaradani:add-pause-support

Conversation

@PardhavMaradani

Copy link
Copy Markdown
Collaborator

Changes made in this Pull Request:

  • Allow widget analyses code to trigger pause event
  • Rename per-frame to every-frame
  • _patch_IMDReader is now a static method to not serialize WidgetManager
  • Fix add widget layout issue

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

This PR allows widget classes to pause the simulation (equivalent to user pausing from the dashboard UI) when certain conditions are met. This will allow users to freeze the current state to investigate if required.

- Allow widget analyses code to trigger pause event
- Rename per-frame to every-frame
- `_patch_IMDReader` is now a static method to not serialize WidgetManager
- Fix add widget layout issue
@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4a47107) to head (ea3291e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
Components Coverage Δ
frontend 100.00% <ø> (ø)
backend 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@PardhavMaradani PardhavMaradani merged commit b244b73 into MDAnalysis:main Jul 8, 2026
20 checks passed
@PardhavMaradani PardhavMaradani deleted the add-pause-support branch July 8, 2026 13:03
@PardhavMaradani PardhavMaradani mentioned this pull request Jul 9, 2026
4 tasks
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.

1 participant