Functions | |
def | create_page |
def | dbfile2html |
Variables | |
tuple | env = Environment(loader=FileSystemLoader('templates')) |
string | help = 'Absolute path to SQLite3 database file.' |
tuple | parser = OptionParser(usage='Usage: %prog --db PATH_TO_DB [options]') |
def web.dbfile2html.create_page | ( | path, | |
content | |||
) |
Definition at line 27 of file dbfile2html.py.
References HILowLumiHLTOfflineSource_cfi.dirname, and join().
Referenced by web.dbfile2html.dbfile2html().
def web.dbfile2html.dbfile2html | ( | db_name, | |
work_path, | |||
threshold = 1e-5 |
|||
) |
Generates static HTML from given release comparison database file. Algorithm: iterates through database, renders Jinja2 templates and saves them to static HTML files.
Definition at line 35 of file dbfile2html.py.
References web.dbfile2html.create_page(), web.app_utils.db_list_with_releases(), HILowLumiHLTOfflineSource_cfi.dirname, cmsRelvalreport.exit, web.app_utils.get_directory_summary_stats(), web.app_utils.get_release_summary_stats(), and join().
tuple web.dbfile2html.env = Environment(loader=FileSystemLoader('templates')) |
Definition at line 19 of file dbfile2html.py.
string web.dbfile2html.help = 'Absolute path to SQLite3 database file.' |
Definition at line 23 of file dbfile2html.py.
tuple web.dbfile2html.parser = OptionParser(usage='Usage: %prog --db PATH_TO_DB [options]') |
Definition at line 21 of file dbfile2html.py.