def do_html(options, hashing_flag, standalone): if options.reports: print("Preparing reports for the single files...") do_reports(options.input_dir) # Do the summary page aggregation_rules={} aggregation_rules_twiki={} # check which aggregation rules are to be used if options.hlt: print("Aggregating directories according to HLT rules") aggregation_rules=definitions.aggr_pairs_dict['HLT'] aggregation_rules_twiki=definitions.aggr_pairs_twiki_dict['HLT'] else: aggregation_rules=definitions.aggr_pairs_dict['reco'] aggregation_rules_twiki=definitions.aggr_pairs_twiki_dict['reco'] table_html = make_summary_table(options.input_dir,aggregation_rules,aggregation_rules_twiki, hashing_flag, standalone) # create summary html file ofile = open("RelMonSummary.html","w") ofile.write(table_html) ofile.close()
def do_html(options, hashing_flag, standalone): if options.reports: print "Preparing reports for the single files..." do_reports(options.input_dir) # Do the summary page aggregation_rules={} aggregation_rules_twiki={} # check which aggregation rules are to be used if options.hlt: print "Aggregating directories according to HLT rules" aggregation_rules=definitions.aggr_pairs_dict['HLT'] aggregation_rules_twiki=definitions.aggr_pairs_twiki_dict['HLT'] else: aggregation_rules=definitions.aggr_pairs_dict['reco'] aggregation_rules_twiki=definitions.aggr_pairs_twiki_dict['reco'] table_html = make_summary_table(options.input_dir,aggregation_rules,aggregation_rules_twiki, hashing_flag, standalone) # create summary html file ofile = open("RelMonSummary.html","w") ofile.write(table_html) ofile.close()