Skip to content

Commit

Permalink
Documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsecher committed Nov 4, 2022
1 parent d1382d4 commit 6b0eae1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 6b0eae1

Please sign in to comment.