Closed krisvanneste closed 1 year ago
OK, I found the problem. The write_qml
function was not executed because an error occurred when running write_sqlite
because my database still had the version 0 format.
However, I think it's odd that QML output only occurs if a QML input file has been specified. It would be better to have a specific option for that.
I ran into one more problem in the html_report
problem, which I also fixed.
I combined the fix with the previous one in a new patch, which I include here:
patch_html_report2.zip
Finally, HTML report works again!
Hi Kris, thank you for your patch.
Finally, I decided to go all in and refactor ssp_html_report.py
(#30).
Please let me know if that works for you.
I'll work later today or tomorrow on the QuakeML output.
Fixed by #30
When requesting HTML output (
html_report=True
), but without station map (plot_station_map=False
), the following error occurs:I think similar errors would occur if the spectral plots or boxplots would be missing. I created a patch to fix these problems: html_report_patch.zip
However, when I run this, another error occurs:
Here I'm not sure if this is due to my way of running sourcespec. I set
options.qml_file = None
. According to the code inssp_qml_output.py
,config.qml_file_out
should be set to None, but this does not seem to happen. Do you know what is going on here?