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

Make doNd reset original post_delay values + fix to keyboard interrupt #2996

Merged
merged 3 commits into from
May 12, 2021

Conversation

ThorvaldLarsen
Copy link
Contributor

doNd functions will currently modify post_delay values on swept parameters that will propagate outside of the doNd function. This will modify sweep rates of the parameter if post_delay/step values are used to limit sweep rates in qcodes.
Ideally this would also be added to the interrupt handle context but didnt include it there as I am not too familiar with python contexts.

Also moved dataset definition up to before the context starts as a keyboard interrupt throws an error due to dataset not being defined.

PR has been tested on offline computer but not actual measurements for now.

@codecov
Copy link

codecov bot commented May 11, 2021

Codecov Report

Merging #2996 (c257cb6) into master (421d277) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2996   +/-   ##
=======================================
  Coverage   65.48%   65.49%           
=======================================
  Files         213      213           
  Lines       28391    28397    +6     
=======================================
+ Hits        18592    18598    +6     
  Misses       9799     9799           

@jenshnielsen jenshnielsen added this to the 0.26.0 milestone May 12, 2021
@jenshnielsen jenshnielsen merged commit eb51b7d into microsoft:master May 12, 2021
@ThorvaldLarsen ThorvaldLarsen deleted the dond_post_delay branch June 8, 2021 18:28
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.

None yet

3 participants