Skip to content

Commit

Permalink
Add logic & tests for realization states
Browse files Browse the repository at this point in the history
  • Loading branch information
Yngve S. Kristiansen committed Jun 24, 2024
1 parent 06412db commit d105fc8
Show file tree
Hide file tree
Showing 10 changed files with 1,234 additions and 39 deletions.
5 changes: 3 additions & 2 deletions src/ert/analysis/_es_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ def _save_param_ensemble_array_to_disk(
ensemble, param_group, realization, param_ensemble_array[:, i]
)

ensemble.unify_parameters()


def _load_param_ensemble_array(
ensemble: Ensemble,
Expand Down Expand Up @@ -560,6 +558,8 @@ def correlation_callback(
target_ensemble,
)

target_ensemble.unify_parameters()


def analysis_IES(
parameters: Iterable[str],
Expand Down Expand Up @@ -664,6 +664,7 @@ def analysis_IES(
target_ensemble, param_ensemble_array, param_group, iens_active_index
)

target_ensemble.unify_parameters()
_copy_unupdated_parameters(
list(source_ensemble.experiment.parameter_configuration.keys()),
parameters,
Expand Down
Loading

0 comments on commit d105fc8

Please sign in to comment.