From 59893c9083e4530e65935ad796d692aecb14c62f Mon Sep 17 00:00:00 2001 From: xjules Date: Wed, 27 Nov 2024 15:30:26 +0100 Subject: [PATCH] genkw_group -> parameter_group --- src/ert/config/design_matrix.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ert/config/design_matrix.py b/src/ert/config/design_matrix.py index 103712c1e3b..02f12c3e6ba 100644 --- a/src/ert/config/design_matrix.py +++ b/src/ert/config/design_matrix.py @@ -105,20 +105,20 @@ def merge_with_existing_parameters( design_keys = [e.name for e in design_parameter_group.transform_functions] design_group_added = False - for genkw_group in existing_parameters: - if not isinstance(genkw_group, GenKwConfig): - new_param_config += [genkw_group] + for parameter_group in existing_parameters: + if not isinstance(parameter_group, GenKwConfig): + new_param_config += [parameter_group] continue - existing_keys = [e.name for e in genkw_group.transform_functions] + existing_keys = [e.name for e in parameter_group.transform_functions] if set(existing_keys) == set(design_keys): - design_parameter_group.name = genkw_group.name + design_parameter_group.name = parameter_group.name design_group_added = True elif set(design_keys) & set(existing_keys): raise ConfigValidationError( "Overlapping parameter names found in design matrix!" ) else: - new_param_config += [genkw_group] + new_param_config += [parameter_group] if not design_group_added: new_param_config += [design_parameter_group] return new_param_config, design_parameter_group