From 9dc1c4f9ee76fde3f24e1b52d0f366b045cd70b5 Mon Sep 17 00:00:00 2001 From: "Yngve S. Kristiansen" Date: Thu, 5 Sep 2024 09:56:24 +0200 Subject: [PATCH] Bugfix: loop over all keys/report steps --- src/ert/dark_storage/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ert/dark_storage/common.py b/src/ert/dark_storage/common.py index fabff023096..72e3963d0db 100644 --- a/src/ert/dark_storage/common.py +++ b/src/ert/dark_storage/common.py @@ -63,9 +63,9 @@ def gen_data_keys(ensemble: Ensemble) -> Iterator[str]: ): if report_steps is None: yield f"{key}@0" - return - for report_step in report_steps: - yield f"{key}@{report_step}" + else: + for report_step in report_steps: + yield f"{key}@{report_step}" def data_for_key(