Skip to content
Snippets Groups Projects
Commit 3e5e1ca3 authored by Flissi Areski's avatar Flissi Areski
Browse files

Change generated PNG size

parent e372a624
Branches
No related tags found
No related merge requests found
......@@ -207,8 +207,10 @@ def write_details_page(spectrum_name, run_id, job_name=None):
# Taxonomy
assignment_png = assignment["lca_name"].replace(' ', '_') + ".png"
assignment_tree = assignment["lca_name"].replace(' ', '_') + ".php"
html += '<p><iframe src="' + assignment_tree + '" height="600px" width="90%"></iframe></p>'
html += '<p><iframe src="' + assignment_tree + '" height="800px" width="90%"></iframe></p>'
html +='<br/><br/>'
html += (f'<div align="center"><a href="{assignment_png}" download>Download PNG</a></div>')
html += '<br/>'
......
......@@ -94,7 +94,7 @@ def gen_sub_tree(chemin_result, run_id, assign_name, assignment, color):
options.add_argument('--no-sandbox')
options.add_argument("--headless")
options.add_argument('--disable-dev-shm-usage')
options.add_argument('--window-size=1500x1000')
options.add_argument('--window-size=1500x1200')
driver = webdriver.Chrome(options)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment