openquake.engine.tools package¶
openquake.engine.tools.correct_complex_sources module¶
Correct complex fault sources to comply with Aki and Richards convention.
openquake.engine.tools.make_html_report module¶
- class openquake.engine.tools.make_html_report.HtmlTable(header_plus_body, name='noname', empty_table='Empty table')[source]¶
Bases:
object
Convert a sequence header+body into a HTML table.
- border = '1'¶
- css = ' tr.evenRow { background-color: lightgreen }\n tr.oddRow { }\n th { background-color: lightblue }\n '¶
- maxrows = 5000¶
- summary = ''¶
- openquake.engine.tools.make_html_report.htmltable(header_rows)[source]¶
Convert a list of tuples describing a table into a HTML string
openquake.engine.tools.viewlog module¶
An extremely simple log viewer, suitable for debugging