Skip to content

Commit

Permalink
Align has_data with empty response config .keys
Browse files Browse the repository at this point in the history
  • Loading branch information
yngve-sk committed Nov 22, 2024
1 parent e0d923b commit 968a97c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ert/storage/local_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ def has_data(self) -> List[int]:
for i in range(self.ensemble_size)
if all(
(self._realization_dir(i) / f"{response}.parquet").exists()
for response in self.experiment.response_configuration
or (config.has_finalized_keys and config.keys == [])
for response, config in self.experiment.response_configuration.items()
)
]

Expand Down

0 comments on commit 968a97c

Please sign in to comment.