From 883b6ef09d38c8f9f362d6d3d3cfc5d7e67e727f Mon Sep 17 00:00:00 2001 From: x03daop Date: Wed, 12 Apr 2017 09:20:54 +0200 Subject: [PATCH] Script execution --- script/MultiRegionScan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/MultiRegionScan.py b/script/MultiRegionScan.py index 5fa3dabe..327f9434 100644 --- a/script/MultiRegionScan.py +++ b/script/MultiRegionScan.py @@ -39,7 +39,7 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray): def read(self): self.setup() - print "Photon energy {ephot} eV. Acquiring spectrum {elo}-{ehi} eV".format(Eph.read(), Scienta.lowEnergy.value, Scienta.highEnergy.value) + print "Photon energy {ephot} eV. Acquiring spectrum {elo}-{ehi} eV".format(ephot=Eph.read(), elo=Scienta.lowEnergy.value, ehi=Scienta.highEnergy.value) trig_scienta() time.sleep(0.5) sp = Scienta.getSpectrum().read()