[docs]@staticmethoddefbuild(state:DatasetExportState)->Path:""" Function that builds the HTML files based on the Simulation state. Arguments: state: SimulationState object including all details of the Simulation instruction Returns: path to the main HTML file (which is located under state.result_path) """base_path=PathBuilder.build(state.result_path/"../HTML_output/")html_map=DatasetExportHTMLBuilder.make_html_map(state,base_path)result_file=base_path/f"DatasetExport_{state.name}.html"TemplateParser.parse(template_path=EnvironmentSettings.html_templates_path/"DatasetExport.html",template_map=html_map,result_path=result_file)returnresult_file