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

Add method to invalidate cache of an Instrument #4161

Merged
merged 7 commits into from
May 9, 2022

Conversation

jenshnielsen
Copy link
Collaborator

This is handy when some change e.g. touching the frontpanel invalidates our knowlege about the instrument.

@codecov
Copy link

codecov bot commented May 9, 2022

Codecov Report

Merging #4161 (1dfe134) into master (6819b82) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4161      +/-   ##
==========================================
+ Coverage   66.04%   66.05%   +0.01%     
==========================================
  Files         233      233              
  Lines       31498    31506       +8     
==========================================
+ Hits        20803    20812       +9     
+ Misses      10695    10694       -1     

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.

awesome! :)

qcodes/instrument/base.py Outdated Show resolved Hide resolved
qcodes/instrument/base.py Outdated Show resolved Hide resolved
qcodes/instrument/channel.py Outdated Show resolved Hide resolved
qcodes/tests/parameter/test_parameter_cache.py Outdated Show resolved Hide resolved
@jenshnielsen jenshnielsen merged commit 9808ab9 into microsoft:master May 9, 2022
@jenshnielsen jenshnielsen deleted the invalidate_cache branch May 9, 2022 12:26
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