Skip to content

Commit

Permalink
Fixes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed May 24, 2024
1 parent 3c21546 commit 00934db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/qcodes/instrument_drivers/Keithley/Keithley_2400.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ def __init__(
get_parser=self._resistance_parser,
label="Resistance",
unit="Ohm",
docstring="Measure resistance from current and voltage "
docstring="Measure resistance from current and voltage. "
"Note that it is an error to read current "
"and voltage with output off",
)
"""Measure resistance from current and voltage Note that it is an error to read current and voltage with output off"""
"""Measure resistance from current and voltage. Note that it is an error to read current and voltage with output off"""

Check warning on line 150 in src/qcodes/instrument_drivers/Keithley/Keithley_2400.py

View check run for this annotation

Codecov / codecov/patch

src/qcodes/instrument_drivers/Keithley/Keithley_2400.py#L150

Added line #L150 was not covered by tests

self.write(":TRIG:COUN 1;:FORM:ELEM VOLT,CURR")
# This line sends 2 commands to the instrument:
Expand Down
6 changes: 3 additions & 3 deletions src/qcodes/instrument_drivers/Keithley/Keithley_2450.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,11 @@ def __init__(self, parent: "Keithley2450", name: str, proper_function: str) -> N
get_cmd=f":SENSe:{self._proper_function}:AZERo?",
set_cmd=f":SENSe:{self._proper_function}:AZERo {{}}",
val_mapping=create_on_off_val_mapping(on_val="1", off_val="0"),
docstring="This command enables or disables automatic updates to"
"the internal reference measurements (autozero) of the"
docstring="This command enables or disables automatic updates to "
"the internal reference measurements (autozero) of the "
"instrument.",
)
"""This command enables or disables automatic updates tothe internal reference measurements (autozero) of theinstrument."""
"""This command enables or disables automatic updates to the internal reference measurements (autozero) of the instrument."""

self.count: Parameter = self.add_parameter(
"count",
Expand Down

0 comments on commit 00934db

Please sign in to comment.