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

Improved error handling of B1500 driver #2041

Merged
merged 8 commits into from Jun 11, 2020

Conversation

lakhotiaharshit
Copy link
Contributor

Each time a parameter is set the instrument is queried for errors. If an error is found user is presented with a runtime error with an error message.

@lakhotiaharshit lakhotiaharshit self-assigned this Jun 10, 2020
@codecov
Copy link

codecov bot commented Jun 11, 2020

Codecov Report

Merging #2041 into master will increase coverage by 0.05%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master    #2041      +/-   ##
==========================================
+ Coverage   71.29%   71.34%   +0.05%     
==========================================
  Files         149      149              
  Lines       19945    19938       -7     
==========================================
+ Hits        14220    14225       +5     
+ Misses       5725     5713      -12     

Copy link
Contributor

@astafan8 astafan8 left a comment

Choose a reason for hiding this comment

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

great! (waiting for last confirmation of success of last testing on the instrument )

@jenshnielsen
Copy link
Collaborator

remember to backport this to the release branch

@jenshnielsen
Copy link
Collaborator

I created a label for that in case there are more

@lakhotiaharshit
Copy link
Contributor Author

lakhotiaharshit commented Jun 11, 2020

great! (waiting for last confirmation of success of last testing on the instrument )

The test passed. We successfully ran a measurement protocol. Also, did some tests to check if the error message is thrown with wrong settings. Good to go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants