From ba98ac1dcce3a658970c2a7a787a0142a31e702f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 3 Jun 2016 22:55:50 -0400 Subject: [PATCH] examples: run should not return a value --- artiq/examples/sim/al_spectroscopy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/examples/sim/al_spectroscopy.py b/artiq/examples/sim/al_spectroscopy.py index d20d2934d..de1cc51cc 100644 --- a/artiq/examples/sim/al_spectroscopy.py +++ b/artiq/examples/sim/al_spectroscopy.py @@ -42,4 +42,4 @@ class AluminumSpectroscopy(EnvExperiment): break if photon_count < self.photon_limit_low: state_0_count += 1 - return state_0_count + print(state_0_count)