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

QDAC II: Documentation improvements #173

Merged
merged 1 commit into from
Nov 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions qcodes_contrib_drivers/drivers/QDevil/QDAC2.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __enter__(self):

def __exit__(self, exc_type, exc_val, exc_tb):
self._parent.free_trigger(self)
# Propacontact exceptions
# Propagate exceptions
return False

@property
Expand Down Expand Up @@ -187,7 +187,7 @@ def __enter__(self):
return self

def __exit__(self, exc_type, exc_val, exc_tb):
# Propacontact exceptions
# Propagate exceptions
return False

def allocate_trigger(self) -> QDac2Trigger_Context:
Expand Down Expand Up @@ -1913,7 +1913,7 @@ def virtual_detune(self, contacts: Sequence[str], start_V: Sequence[float],
step_time_s: float = 1e-5,
step_trigger: Optional[str] = None,
repetitions: int = 1) -> Virtual_Sweep_Context:
"""Sweep any number of contacts from one set of values to another set of values
"""Sweep any number of contacts linearly from one set of values to another set of values

Args:
contacts (Sequence[str]): contacts involved in sweep
Expand Down
2 changes: 1 addition & 1 deletion qcodes_contrib_drivers/tests/QDevil/sim_qdac2_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def instance():

def __init__(self):
if DUT._instance:
raise ValueError('DUT is a singleton, call instance()')
raise ValueError('DUT is a singleton, use instance() instead')
DUT._instance = self
name = ('dac' + str(uuid.uuid4())).replace('-', '')
try:
Expand Down