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 21, 2024
1 parent 3f3e682 commit 14848be
Show file tree
Hide file tree
Showing 11 changed files with 1,206 additions and 41 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 14848be

Please sign in to comment.