Mark B. and Kiwamu.
Yesteday afternoon, Kiwamu reported that the MC2 guardian was giving an error in line 104 the SUS.py script. This was a call to a method from sustools.py in the definition of the ALIGNED state:
self.optic.lockGainWrite(1.0,[],[], [P,Y])
This could never have worked - all arguments to lockGainWrite other than the first are keyword arguments, and the non-empty list should be of strings. I changed it and a similar instance (line 120) to
self.optic.lockGainWrite(1.0,chans=['P','Y'])
That solved the initial problem and exposed a second: there was no file ^/sus/h1/burtfiles/h1susmc2_misaligned_offsets.snap .
I created one by copying h1susmc2_aligned_offsets.snap and manally putting in new offsets suggested by Kiwamu.
I committed the fixed SUS.py and added and committed everything else in the ^/sus/h1/burtfiles and ^/sus/common/guardian directories.