diff --git a/script/users/Granas/XPSSpectrum_O1s.py b/script/users/Granas/XPSSpectrum_O1s.py index 7860efad..8d61bd2a 100644 --- a/script/users/Granas/XPSSpectrum_O1s.py +++ b/script/users/Granas/XPSSpectrum_O1s.py @@ -34,17 +34,20 @@ loadParameterset(pearlU_path+"settings/screw_GE_pos.txt") range1 = getParameterset(pearlU_path+"settings/FE_O1s.txt") waitForEnergy(range1[0]) waitForGroup("mov-") +print range1 -if True: + +if len(range1)>5: ranges = [range1] # (eph, min, max, step, time, iter) skip_iteration = False ENDSCAN = True - setVal("X03DA-FE-AB1:CLOSE4BL","1") #opening the beam line + #setVal("X03DA-FE-AB1:CLOSE4BL","1") #opening the beam line time.sleep(4) - execfile("/sls/X03DA/data/gac-x03da/pshell/home/script/users/Granas/XPSSpectrum_base.py") + print "got to checkpoint" + #execfile("/sls/X03DA/data/gac-x03da/pshell/home/script/users/Granas/XPSSpectrum_base.py") setVal("X03DA-FE-AB1:CLOSE4BL","0") #closeing the beam line