Skip to content

Commit

Permalink
Open prov dir links in a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Jan 30, 2025
1 parent 47c37e8 commit 20bfb83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e3sm_diags/e3sm_diags_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ def save_provenance(results_dir, parser):
for file_name in os.listdir(results_dir):
file_path = os.path.join(results_dir, file_name)
if os.path.isfile(file_path):
f.write(f'<li><a href="{file_name}">{file_name}</a></li>')
f.write(
f'<li><a href="{file_name}" target="_blank">{file_name}</a></li>'
)

f.write("</ul></body></html>")

Expand Down

0 comments on commit 20bfb83

Please sign in to comment.