gstlal_plot_psd_horizon importing deleted module
The gstlal_plod_psd_horizon
script in gstlal-1.10.0 is attempting to import a module that doesn't exist (has never existed?):
$ gstlal_plot_psd_horizon --help
Traceback (most recent call last):
File "/home/duncan/opt/mambaforge/conda-bld/gstlal_1668423852551/_test_env/bin/gstlal_plot_psd_horizon", line 26, in <module>
from gstlal.plots import horizon
ImportError: cannot import name 'horizon' from 'gstlal.plots' (/home/duncan/opt/mambaforge/conda-bld/gstlal_1668423852551/_test_env/lib/python3.10/site-packages/gstlal/plots/__init__.py)
The script is attempting to use the HorizonDistance
object from that module. An object of that name is defined in gstlal.psd
however it does not have the from_psds()
classmethod that is used in gstlal_plot_psd_horizon
.