fix no attribute 'injection_img2'
@justin.janquart when doing a run with injection=False
, args.injection_img1
and args.injection_img2
never get defined, so it raises AttributeError: 'Namespace' object has no attribute
in https://git.ligo.org/justin.janquart/golum_pipe/-/blob/main/golum_pipe/golum_pipe/symmetric.py#L75.
I added else
statements in https://git.ligo.org/justin.janquart/golum_pipe/-/blob/main/golum_pipe/golum_pipe/symmetric.py#L35 so that args.injection_img1
and args.injection_img2
are False
in that case.