-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve run summary #57
Conversation
…the summary added a new method new_output_file to OutputFactory that should be called when output files are generated.
if simulation_model.parameters["traces_output"]: | ||
try: | ||
self.generate_trace_output(simulation_model) | ||
except: |
Check notice
Code scanning / CodeQL
Except block handles 'BaseException'
if simulation_model.parameters["visualisation_output"]: | ||
try: | ||
self.generate_geojson_output(simulation_model) | ||
except: |
Check notice
Code scanning / CodeQL
Except block handles 'BaseException'
@@ -150,10 +180,12 @@ | |||
""" | |||
|
|||
for kpi_output in self.kpi_outputs: | |||
try: | |||
kpi_output.write_kpi_table() | |||
except: |
Check notice
Code scanning / CodeQL
Except block handles 'BaseException'
improve run summary content and generation
added new contents to the run summary: Starling version and commit, run date, config content, output files and their information
the run summary file is now always generated, removed the 'generate_summary' option in parameters
the run summary file is now named "run_summary.json" instead of "{scenario}_summary.json"
(Close #56)