From 3e46a36a4d3a033f0ddef493ae2c093a8a27115a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 27 Feb 2015 00:16:56 -0700 Subject: [PATCH] lda: do not print attenuation value in simulation --- artiq/devices/lda/driver.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/devices/lda/driver.py b/artiq/devices/lda/driver.py index fdc8763a3..fc1a9ea54 100644 --- a/artiq/devices/lda/driver.py +++ b/artiq/devices/lda/driver.py @@ -38,7 +38,7 @@ class Ldasim: return self._attenuation def set_attenuation(self, attenuation): - """Stores the new attenuation value and prints it to console. + """Stores the new attenuation value. :param attenuation: The attenuation value in dB. """ @@ -60,7 +60,6 @@ class Ldasim: raise ValueError("Cannot set attenuation {} < 0".format(att)) else: att = round(att.amount*4)/4. * dB - print("setting attenuation to {}".format(att)) self._attenuation = att def ping(self):