Skip to content

Commit

Permalink
GSYE-674: Re-add sending of results when the simulation has finished
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesdiedrich committed Jan 26, 2024
1 parent 4e16bcc commit a079584
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gsy_e/gsy_e_core/simulation/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def _simulation_stopped_finish_actions(self, slot_count: int, status="finished")
slot_count - 1, slot_count, self._time, self.config)
paused_duration = duration(seconds=self._time.paused_time)
self.progress_info.log_simulation_finished(paused_duration, self.config)
self._results.update_and_send_results(simulation=self)
self._results.save_csv_results(self.area)

def _handle_input(self, console: NonBlockingConsole, sleep_period: float = 0) -> None:
Expand Down

0 comments on commit a079584

Please sign in to comment.