UnboundLocalError: local variable 'UL_gain' referenced before assignment
from https://ldas-jobs.ligo-wa.caltech.edu/~lockloss/events/1394/954887/log:
2024-03-20 00:41:53,039 [analyze:analyze_event] executing plugin: find_lpy(1394954887)
2024-03-20 00:41:53,039 [analyze:analyze_event] exception in find_lpy:
Traceback (most recent call last):
File "/home/lockloss/opt/locklost-igwn-py39/lib/python3.9/site-packages/locklost/analyze.py", line 62, in analyze_event
func(event)
File "/home/lockloss/opt/locklost-igwn-py39/lib/python3.9/site-packages/locklost/plugins/lpy.py", line 43, in find_lpy
lpy_map = channel2lpy_coeffs(sat_channel)
File "/home/lockloss/opt/locklost-igwn-py39/lib/python3.9/site-packages/locklost/plugins/lpy.py", line 152, in channel2lpy_coeffs
lpy_map['length'] = {'UL': 1 * UL_gain, 'LL': 1 * LL_gain, 'UR': 1 * UR_gain, 'LR': 1 * LR_gain}
UnboundLocalError: local variable 'UL_gain' referenced before assignment
Edited by Jameson Rollins