From 05f5a6bf54a6d7dbe0040e33d01ad35a1402b42b Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Thu, 7 Jul 2022 14:08:51 +0200 Subject: [PATCH] Fix typo in parsers --- qcodes/instrument_drivers/agilent/Agilent_E8257D.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcodes/instrument_drivers/agilent/Agilent_E8257D.py b/qcodes/instrument_drivers/agilent/Agilent_E8257D.py index 168f4d037977..cc3528b78083 100644 --- a/qcodes/instrument_drivers/agilent/Agilent_E8257D.py +++ b/qcodes/instrument_drivers/agilent/Agilent_E8257D.py @@ -106,8 +106,8 @@ def __init__( unit="deg", get_cmd="PHASE?", set_cmd="PHASE" + " {:.8f}", - get_parser=np.rad2deg(), - set_parser=np.deg2rad(), + get_parser=np.rad2deg, + set_parser=np.deg2rad, vals=vals.Numbers(-180, 180), )