From fa4fcd2deed2b613e4d8c3f2b4be09f3ef9f4108 Mon Sep 17 00:00:00 2001 From: xjules Date: Thu, 19 Dec 2024 13:19:07 +0100 Subject: [PATCH] Ruff fix II --- src/ert/run_models/base_run_model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ert/run_models/base_run_model.py b/src/ert/run_models/base_run_model.py index 8f86e1a8918..9a2de1b3720 100644 --- a/src/ert/run_models/base_run_model.py +++ b/src/ert/run_models/base_run_model.py @@ -395,9 +395,9 @@ def get_current_status(self) -> dict[str, int]: status[str(real["status"])] += 1 if self.restart: - status[ - "Finished" - ] += self._get_number_of_finished_realizations_from_reruns() + status["Finished"] += ( + self._get_number_of_finished_realizations_from_reruns() + ) return status def _get_number_of_finished_realizations_from_reruns(self) -> int: