From 86c523598d1100cb091bda1a498b5b31286fb1ce Mon Sep 17 00:00:00 2001 From: DanSava Date: Mon, 26 Aug 2024 10:43:47 +0300 Subject: [PATCH] Add gendata output file for each report step to the output files manifest. --- src/ert/config/ert_config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ert/config/ert_config.py b/src/ert/config/ert_config.py index e9be8d8532b..8a60d1a114b 100644 --- a/src/ert/config/ert_config.py +++ b/src/ert/config/ert_config.py @@ -549,8 +549,9 @@ def manifest_to_json(self, iens: int = 0, iter: int = 0) -> Dict[str, Any]: manifest[f"{name}_UNSMRY"] = f"{input_file}.UNSMRY" manifest[f"{name}_SMSPEC"] = f"{input_file}.SMSPEC" if isinstance(respons_config, GenDataConfig): - if respons_config.report_steps and iens in respons_config.report_steps: - manifest[name] = input_file.replace("%d", str(iens)) + if respons_config.report_steps: + for step in respons_config.report_steps: + manifest[f"{name}_{step}"] = input_file.replace("%d", str(step)) elif "%d" not in input_file: manifest[name] = input_file return manifest