-
Notifications
You must be signed in to change notification settings - Fork 86
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
Two 2D scan examples & refuse non-identifier instrument name #127
Conversation
Codecov Report
@@ Coverage Diff @@
## master #127 +/- ##
==========================================
+ Coverage 19.43% 19.49% +0.05%
==========================================
Files 121 121
Lines 14438 14448 +10
==========================================
+ Hits 2806 2816 +10
Misses 11632 11632
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
@@ -2170,3 +2171,10 @@ def _set_up_manual_triggers(self) -> None: | |||
def _set_up_simple_functions(self) -> None: | |||
self.add_function('reset', call_cmd='*rst') | |||
self.add_function('abort', call_cmd='abor') | |||
|
|||
def _check_instrument_name(self, name: str) -> None: |
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.
stricktly qcodes does not prescribe this requirement for instrument names. but perhaps it should? could you explain when did it become a problem for qdac?
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.
The doNd
functions break when the instrument name is not isidentifier()
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.
for the new notebooks, don't forget to disable execution in the docs build, read here how to do that https://qcodes.github.io/Qcodes/examples/writing_drivers/Creating-Instrument-Drivers.html#Documentation
No description provided.