Skip to content

Commit

Permalink
Add gendata output file for each report step to the output files mani…
Browse files Browse the repository at this point in the history
…fest.
  • Loading branch information
DanSava committed Aug 26, 2024
1 parent 78c736f commit 86c5235
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ert/config/ert_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86c5235

Please sign in to comment.