From fdde1ac4c551c297aa5df5be4a3f6cb3f397fec4 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Thu, 25 Jul 2024 10:13:13 +0200 Subject: [PATCH] Rerun darker --- src/qcodes/instrument_drivers/Lakeshore/lakeshore_base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qcodes/instrument_drivers/Lakeshore/lakeshore_base.py b/src/qcodes/instrument_drivers/Lakeshore/lakeshore_base.py index 6c5e39d2262..4c93771542d 100644 --- a/src/qcodes/instrument_drivers/Lakeshore/lakeshore_base.py +++ b/src/qcodes/instrument_drivers/Lakeshore/lakeshore_base.py @@ -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"""