def write_template(data, results_dir, parent):
    print("Generating html report...")
    partial = time.time()
    j_env = Environment(loader=FileSystemLoader(os.path.join(results_dir, parent, 'templates')))
    template = j_env.get_template('report.html')

    report_writer = ReportWriter(results_dir, parent)
    report_writer.write_report(template.render(data))
    print("HTML report generated in {} seconds\n".format(time.time() - partial))
Reads an internal Partner object parameter.
dataset/ETHPy150Open TheGhouls/oct/oct/results/output.py/write_template--crossover with--dataset/ETHPy150Open gijzelaerr/python-snap7/snap7/partner.py/Partner.get_param