-
Notifications
You must be signed in to change notification settings - Fork 301
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
refactor awg file handling in awg5014 driver and introduce QCoDeS @deprecated decorator #1066
refactor awg file handling in awg5014 driver and introduce QCoDeS @deprecated decorator #1066
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1066 +/- ##
=======================================
Coverage 79.75% 79.75%
=======================================
Files 46 46
Lines 6647 6647
=======================================
Hits 5301 5301
Misses 1346 1346 |
@nataliejpg, you are absolutely right. I put one of my best men on this :) |
I added a deprecation warning for the |
sounds great. Thanks @Dominik-Vogel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 refactoring
@@ -903,7 +906,7 @@ def generate_channel_cfg(self): | |||
been changed from their default value and put them in a | |||
dictionary that can easily be written into an awg file, so as | |||
to prevent said awg file from falling back to default values. | |||
(See self.generate_awg_file and self.AWG_FILE_FORMAT_CHANNEL) | |||
(See self.make_awg_file and self.AWG_FILE_FORMAT_CHANNEL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could use actual sphinx links here. https://kev.inburke.com/kevin/sphinx-interlinks/
…jpg/Qcodes into refactor/awg5014c_driver
The existing driver had 'make_and_save' and 'make_send_and_load' which means that the code for packing a waveform list is copied in two places and also that the sequence 'make', 'save', 'send' and 'load' is not possible without making twice. I pulled out these functions and left the original two to call them so it shouldn't break it for anyone using the old ones. Thoughts welcome :)
@WilliamHPNielsen