From 968a97c8babf1e755ccab74df358eca778377e84 Mon Sep 17 00:00:00 2001 From: "Yngve S. Kristiansen" Date: Fri, 22 Nov 2024 11:55:45 +0100 Subject: [PATCH] Align has_data with empty response config .keys --- src/ert/storage/local_ensemble.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ert/storage/local_ensemble.py b/src/ert/storage/local_ensemble.py index e3def85c3e2..1f6735252b6 100644 --- a/src/ert/storage/local_ensemble.py +++ b/src/ert/storage/local_ensemble.py @@ -365,7 +365,8 @@ def has_data(self) -> List[int]: for i in range(self.ensemble_size) if all( (self._realization_dir(i) / f"{response}.parquet").exists() - for response in self.experiment.response_configuration + or (config.has_finalized_keys and config.keys == []) + for response, config in self.experiment.response_configuration.items() ) ]