Skip to content
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

Merged
merged 15 commits into from
Jun 22, 2022
Merged

feat: improve run summary #57

merged 15 commits into from
Jun 22, 2022

Conversation

leo-desbureaux-tellae
Copy link
Contributor

@leo-desbureaux-tellae leo-desbureaux-tellae commented Jun 10, 2022

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)

if simulation_model.parameters["traces_output"]:
try:
self.generate_trace_output(simulation_model)
except:

Check notice

Code scanning / CodeQL

Except block handles 'BaseException'

Except block directly 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'

Except block directly 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'

Except block directly handles BaseException.
@vincent-leblond vincent-leblond merged commit d048a21 into main Jun 22, 2022
@vincent-leblond vincent-leblond deleted the feature/run_summary branch June 22, 2022 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[STARLING] improve run summary
2 participants