Less confusing errors for jet configuration
The large-R jet calibration code has a lot of structures like
if something:
var = "bla"
if something_else:
var = "zork"
thing(var)
which is kind of fun to debug: I just get a lot of UnboundLocalError: local variable 'var' referenced before assignment
. This makes it a bit better.