Skip to content

Commit

Permalink
Rerun darker
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Jul 25, 2024
1 parent 0756638 commit fdde1ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qcodes/instrument_drivers/Lakeshore/lakeshore_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ def __init__(
self.output_type: GroupParameter = self.add_parameter(
name="output_type",
docstring="Output type (Output 2 only): 0=Current, 1=Voltage",
val_mapping={"current": 0, "voltage": 1}
if output_index == 1
else {"current": 0},
val_mapping=(
{"current": 0, "voltage": 1} if output_index == 1 else {"current": 0}
),
parameter_class=GroupParameter,
)
"""Output type (Output 2 only): 0=Current, 1=Voltage"""
Expand Down

0 comments on commit fdde1ac

Please sign in to comment.