From 195ed2dc04ae9c7fb5b13fac9a7e9105eca9c473 Mon Sep 17 00:00:00 2001 From: "Yngve S. Kristiansen" Date: Wed, 13 Nov 2024 09:09:31 +0100 Subject: [PATCH] (temp/sanity check) assert equal optimal result from both storages --- src/ert/run_models/everest_run_model.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ert/run_models/everest_run_model.py b/src/ert/run_models/everest_run_model.py index 3e1b61c8b9c..961d265a74e 100644 --- a/src/ert/run_models/everest_run_model.py +++ b/src/ert/run_models/everest_run_model.py @@ -426,6 +426,8 @@ def run_experiment( # Extract the best result from the storage. self._result = seba_storage.get_optimal_result() # type: ignore + optimal_result_from_everstorage = self.ever_storage.get_optimal_result() + assert self._result == optimal_result_from_everstorage if self._monitor_thread is not None: self._monitor_thread.stop()