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

Giving cavity characterization more time before throwing an error #137

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

lisazacarias
Copy link
Collaborator

The last global setup led to characterizations that took ~1.5 minutes and erroneously marked them as failed. Also adding missing abort check

…e last one took a minute and a half and erroneously marked as failed)
raise utils.CavityQLoadedCalibrationError(
f"{self} characterization did not start"
f"{self} characterization took longer than 5 minutes to run"
Copy link
Collaborator

Choose a reason for hiding this comment

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

waiting for 5min without any feedback on progress makes me guess that people will start saying 'the GUI is frozen'. Maybe 2 or 3minutes? Or can we think of any way to convey that things are actually happening?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well the thing is that right now it's just waiting indefinitely (not even just 5 minutes but however long it takes for characterization to run) in the while self.characterization_running section. This chunk is just to check that we for sure had a successful characterization within the last 5 minutes, in case it actually didn't start

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh right. Maybe the better wording then would be 'no valid characterization within the last 5 min'?

@lisazacarias lisazacarias merged commit eedec07 into slaclab:main Feb 21, 2024
2 checks passed
@lisazacarias lisazacarias deleted the patch branch February 21, 2024 23:37
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