From 3bc4528fce7ed52f78b14704e315d0b6df8178da Mon Sep 17 00:00:00 2001 From: Sebastian Pauka Date: Thu, 25 Jan 2018 17:56:23 +1100 Subject: [PATCH] Trailing whitespace --- qcodes/instrument_drivers/american_magnetics/AMI430.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcodes/instrument_drivers/american_magnetics/AMI430.py b/qcodes/instrument_drivers/american_magnetics/AMI430.py index 9396aad74f7..1bf0482e538 100644 --- a/qcodes/instrument_drivers/american_magnetics/AMI430.py +++ b/qcodes/instrument_drivers/american_magnetics/AMI430.py @@ -327,7 +327,7 @@ def _set_ramp_rate(self, rate): """ Set the ramp rate of the first segment in Tesla per second """ if rate > self.field_ramp_limit(): raise ValueError("{} {} is above the ramp rate limit of {} {}".format( - rate, self.ramp_rate.unit, + rate, self.ramp_rate.unit, self.field_ramp_limit(), self.field_ramp_limit.unit)) self.write('CONF:RAMP:RATE:SEG 1') self.write('CONF:RAMP:RATE:FIELD 1,{},0'.format(rate))