`gstlal_inspiral_svd_bank` not compatible with python-ligo-lw 1.8.x
From a recent CI job:
time -p gstlal_inspiral_svd_bank \
--reference-psd measured_psd.xml.gz \
--samples-min 2048 \
--write-svd L1-0000_SVD-1000000000-2048.xml.gz \
--ortho-gate-fap 0.5 \
--flow 30.0 \
--instrument-override L1 \
--svd-tolerance 0.9999 \
--autocorrelation-length 351 \
--samples-max-64 2048 \
--samples-max-256 2048 \
--samples-max 4096 \
H1L1-0000_GSTLAL_SPLIT_BANK_0000-0-0.xml.gz
/usr/lib64/python3.6/site-packages/scipy/optimize/minpack.py:161: RuntimeWarning: The iteration is not making good progress, as measured by the
improvement from the last ten iterations.
warnings.warn(msg, RuntimeWarning)
Traceback (most recent call last):
File "/usr/bin/gstlal_inspiral_svd_bank", line 191, in <module>
instrument_override = options.instrument_override
File "/usr/lib64/python3.6/site-packages/gstlal/svd_bank.py", line 365, in build_bank
flow = cal_higher_f_low(template_bank_url, bank_xmldoc, flow, max_duration),
File "/usr/lib64/python3.6/site-packages/gstlal/svd_bank.py", line 313, in cal_higher_f_low
ligolw_utils.write_filename(bank_xmldoc, template_bank_url, gz = True)
File "/usr/lib64/python3.6/site-packages/ligo/lw/utils/__init__.py", line 633, in write_filename
write_fileobj(xmldoc, fileobj, compress = compress, **kwargs)
File "/usr/lib64/python3.6/site-packages/ligo/lw/utils/__init__.py", line 516, in write_fileobj
xmldoc.write(fileobj, **kwargs)
TypeError: write() got an unexpected keyword argument 'gz'