Skip to content

Add retry measurements dialog window#266

Merged
roussel-ryan merged 2 commits into
xopt-org:mainfrom
nstelter-slac:retry_measurement_dialog
Jun 9, 2026
Merged

Add retry measurements dialog window#266
roussel-ryan merged 2 commits into
xopt-org:mainfrom
nstelter-slac:retry_measurement_dialog

Conversation

@nstelter-slac

@nstelter-slac nstelter-slac commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Add dialog window that allows users to retry measurements when there are errors in setting variable values / getting observables from the environment

this is an edit ontop of #263 (and 263 can be closed), since couldn't figure out how to push to that PR since its on the 'copilot' user's fork

@nstelter-slac nstelter-slac changed the title Add dialog window that allows users to retry measurements when there are errors in setting variable values / getting observables from the environment Add retry measurements dialog window Jun 1, 2026
@nstelter-slac nstelter-slac marked this pull request as draft June 1, 2026 22:29
@nstelter-slac nstelter-slac force-pushed the retry_measurement_dialog branch 2 times, most recently from 6850f26 to 7c2d97e Compare June 1, 2026 23:06
@nstelter-slac

nstelter-slac commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

also tested manually by making evaluate_data() in xopt's base.py always throw an exception,
then running an example badger optimization.

@nstelter-slac nstelter-slac force-pushed the retry_measurement_dialog branch 2 times, most recently from 63babaa to 81df8fe Compare June 2, 2026 00:18
…are errors in

setting variable values / getting observables from the environment

Adds a `dialog_action_queue` to communicate the error and dialog-slection
between core-subprocess and routine.
@nstelter-slac nstelter-slac force-pushed the retry_measurement_dialog branch from 81df8fe to c4946fc Compare June 2, 2026 00:42
@nstelter-slac nstelter-slac marked this pull request as ready for review June 2, 2026 00:48
add styled accept/deny icons to window buttons (matches the settings window),
and allow for traceback text to display in readable way.
@nstelter-slac

Copy link
Copy Markdown
Collaborator Author

updated measurements dialog window looks like this:
Screenshot_2026-06-08_22-28-36

@roussel-ryan roussel-ryan merged commit 9aec8b0 into xopt-org:main Jun 9, 2026
6 checks passed
@nstelter-slac

nstelter-slac commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author

will (sooner than) later look into using existing class for dialog window traceback display

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