From d365ce8de80f955a238c37a1396a352e19798954 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)