Skip to content

Commit

Permalink
Rename design_matrix_args -> design_matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Oct 10, 2024
1 parent fc6244f commit 164858a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/ert/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from .analysis_config import AnalysisConfig
from .analysis_module import AnalysisModule, ESSettings, IESSettings
from .capture_validation import capture_validation
from .design_matrix import DesignMatrix
from .enkf_observation_implementation_type import EnkfObservationImplementationType
from .ensemble_config import EnsembleConfig
from .ert_config import ErtConfig
Expand Down Expand Up @@ -48,6 +49,7 @@
"ConfigValidationError",
"ConfigValidationError",
"ConfigWarning",
"DesignMatrix",
"ESSettings",
"EnkfObs",
"EnkfObservationImplementationType",
Expand Down
4 changes: 2 additions & 2 deletions src/ert/config/analysis_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class AnalysisConfig:
ies_module: IESSettings = field(default_factory=IESSettings)
observation_settings: UpdateSettings = field(default_factory=UpdateSettings)
num_iterations: int = 1
design_matrix_args: Optional[DesignMatrix] = None
design_matrix: Optional[DesignMatrix] = None

@no_type_check
@classmethod
Expand Down Expand Up @@ -194,7 +194,7 @@ def from_dict(cls, config_dict: ConfigDict) -> "AnalysisConfig":
observation_settings=obs_settings,
es_module=es_settings,
ies_module=ies_settings,
design_matrix_args=DesignMatrix.from_config_list(design_matrix_config_list)
design_matrix=DesignMatrix.from_config_list(design_matrix_config_list)
if design_matrix_config_list is not None
else None,
)
Expand Down

0 comments on commit 164858a

Please sign in to comment.