DAS  3.0
Das Analysis System
generate_html.py File Reference

Namespaces

 generate_html
 

Functions

def get_year_from_era (era)
 
def get_run_from_era (era)
 
def generate_json_summary (inPath, outPath)
 

Variables

 template = \
 
 parser = argparse.ArgumentParser()
 
 required
 
 True
 
 help
 
 args = parser.parse_args()
 
 out_dir_p = pl.Path(args.output)
 
string summary_dir_p = out_dir_p / "summaries"
 
 parents
 
 exist_ok
 
 root_dir_p = pl.Path(args.input)
 
list files = []
 
 pog = pog_dir_p.name
 
 era = era_dir_p.name
 
 year
 
 campaign
 
 run
 
 file_name = json_file_p.name.split(".")[0]
 
string summary_file_p = summary_dir_p / f"{pog}_{era}_{file_name}.html"
 
string index_p = out_dir_p / "index.html"
 
string script_dir_p = pl.Path(__file__).parent / "fancyTable"
 
 dirs_exist_ok