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()