Skip to content

Commit 3bd9c26

Browse files
committed
fixup! Add yaml obs converter
1 parent 6b305fc commit 3bd9c26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ert/observation_converters/summary_to_yaml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def convert_summary_to_yaml(config: str) -> None:
7676
user_config_contents,
7777
config,
7878
)
79-
file, obs_config = config_dict.get("OBS_CONFIG", (None, None))
79+
obs_file, obs_config = config_dict.get("OBS_CONFIG", (None, None))
8080

81-
if file is None or config_dict is None:
81+
if obs_file is None or config_dict is None:
8282
raise ErtCliError("No observation configuration found.\nExiting ...")
8383

8484
yaml_exporter = YamlConverter(

0 commit comments

Comments
 (0)