Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record associate scan numbers in the config file #87

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

leofang
Copy link
Collaborator

@leofang leofang commented Feb 14, 2020

Close #80.

This PR addresses the issue that the associate scan numbers are not recorded during GUI shutdown.

The accompanying PR for the backend is NSLS-II/ptycho#48.

@leofang leofang added this to the v1.4.0 milestone Feb 14, 2020
@leofang leofang changed the title [WIP] Record associate scan numbers in the config file Record associate scan numbers in the config file Feb 14, 2020
@leofang leofang marked this pull request as ready for review February 14, 2020 19:51
Comment on lines +1403 to +1404
if self._extra_scans_dialog is not None:
self._extra_scans_dialog.close()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to fix a bug that the assoc scan window is not closed, thus preventing the whole program from being shutdown, when the main window is closed.

@leofang
Copy link
Collaborator Author

leofang commented Feb 16, 2020

@mrakitin This PR could give you a taste what's needed to add new parameter to the main window. This example is a bit simplified, though, because the backend does not need this info and we don't need to add a new button to the main window, otherwise it'd be more complex.

@leofang
Copy link
Collaborator Author

leofang commented Feb 24, 2020

Merge at will.

@leofang leofang merged commit 9c251cf into NSLS-II:master Feb 24, 2020
@leofang leofang deleted the memorize_asso_scans branch February 24, 2020 17:14
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.

Some weirdness in the associate scan window
1 participant