From ccdfa1eff31505dc9b337d46c69606e671273761 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 7 May 2016 17:40:44 +0800 Subject: [PATCH] examples/photon_histogram: integers --- .../master/repository/coredevice_examples/photon_histogram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/examples/master/repository/coredevice_examples/photon_histogram.py b/artiq/examples/master/repository/coredevice_examples/photon_histogram.py index 5a919aa4a..6c9f21fa2 100644 --- a/artiq/examples/master/repository/coredevice_examples/photon_histogram.py +++ b/artiq/examples/master/repository/coredevice_examples/photon_histogram.py @@ -13,8 +13,8 @@ class PhotonHistogram(EnvExperiment): self.setattr_device("bdd_sw") self.setattr_device("pmt") - self.setattr_argument("nbins", NumberValue(100)) - self.setattr_argument("repeats", NumberValue(100)) + self.setattr_argument("nbins", NumberValue(100, ndecimals=0, step=1)) + self.setattr_argument("repeats", NumberValue(100, ndecimals=0, step=1)) self.setattr_dataset("cool_f", 230*MHz) self.setattr_dataset("detect_f", 220*MHz)