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

Improvements to experiment error handling #482

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

Himorask
Copy link
Contributor

This is focused on experiment.py and qubit_exp.py, other specialized experiments may need to have similar changes made to match the behavior.
Some key changes:
-If one instrument fails to connect, disconnect from all previously connected instruments
-Report which instrument failed to connect/disconnect
-Check that listeners/dig_exit exist before trying to modify them in shutdown code

Minor changes to how instrs_connected is handled
dig_exit attribute check
Minor changes to a failure block
Fixed the mistake I was making with pass
Copy link
Member

@grahamrow grahamrow left a comment

Choose a reason for hiding this comment

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

This looks good to me!

@grahamrow
Copy link
Member

grahamrow commented Apr 14, 2021

@Himorask a lot of this was already added in #486, but we'd like to keep some of the stuff in the shutdown methods in particular. Can you help resolve the conflicts here?

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