Skip to content

Commit

Permalink
open new long reports
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Nov 23, 2024
1 parent 7fc5040 commit 006482b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/longitudinal_maneuvers/generate_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import os
import math
import pprint
import webbrowser
from collections import defaultdict
from pathlib import Path
import matplotlib.pyplot as plt
Expand Down Expand Up @@ -143,7 +144,8 @@ def report(platform, route, _description, CP, ID, maneuvers):
with open(output_fn, "w") as f:
f.write(''.join(builder))

print(f"\nReport written to {output_fn}\n")
print(f"\nOpening report: {output_fn}\n")
webbrowser.open_new_tab(str(output_fn))


if __name__ == '__main__':
Expand Down

0 comments on commit 006482b

Please sign in to comment.