diff --git a/script/EnergyScan.py b/script/EnergyScan.py index 4e5bb02..382ade2 100644 --- a/script/EnergyScan.py +++ b/script/EnergyScan.py @@ -58,8 +58,8 @@ else: raise Exception("Invalid run type: " + RUNTYPE) if RUNTYPE == "-": - switchpol(2) # tune ID1 --> polarization: C+ -else if RUNTYPE == "+": + switchpol(2) # tune ID2 --> polarization: C- +else: switchpol(1) # tune ID1 --> polarization: C+ time.sleep(1.0)