saturations exception: UnboundLocalError: local variable 'ymax' referenced before assignment
From L1 (https://ldas-jobs.ligo-la.caltech.edu/~lockloss/events/1241/489163/log):
2019-05-09 21:12:24,687 [analyze.analyze_event] exception in find_saturations:
Traceback (most recent call last):
File "/home/lockloss/opt/lib/python2.7/site-packages/locklost-0.13.5.dev0+gb4101a8.d20190501-py2.7.egg/locklost/analyze.py", line 49, in analyze_event
func(event)
File "/home/lockloss/opt/lib/python2.7/site-packages/locklost-0.13.5.dev0+gb4101a8.d20190501-py2.7.egg/locklost/plugins/saturations.py", line 107, in find_saturations
ymin, ymax = set_ylims(saturations, xmax, buffer)
File "/home/lockloss/opt/lib/python2.7/site-packages/locklost-0.13.5.dev0+gb4101a8.d20190501-py2.7.egg/locklost/plugins/saturations.py", line 207, in set_ylims
if ymax < 1:
UnboundLocalError: local variable 'ymax' referenced before assignment