Skip to content

Commit

Permalink
Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindeide committed Oct 4, 2024
1 parent 05e6d71 commit 8721a48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ert/config/ert_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ def __post_init__(self) -> None:
if self.user_config_file
else os.getcwd()
)
self.observations: Dict[str, xr.Dataset] = self.enkf_obs.datasets
self.observations: Dict[str, xr.Dataset] = (
self.enkf_obs.datasets if self.enkf_obs else {}
)

@staticmethod
def with_plugins(
Expand Down

0 comments on commit 8721a48

Please sign in to comment.