Skip to content

Commit

Permalink
Reword acording to review
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Oct 24, 2024
1 parent c785c0e commit fe5cc7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ert/config/design_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ def read_design_matrix(
error_msg = "\n".join(error_list)
raise ValueError(f"Design matrix is not valid, error:\n{error_msg}")

usable_defaults = DesignMatrix._read_defaultssheet(
defaults_to_use = DesignMatrix._read_defaultssheet(
self.xls_filename, self.default_sheet, design_matrix_df.columns.to_list()
)
design_matrix_df = design_matrix_df.assign(**usable_defaults)
design_matrix_df = design_matrix_df.assign(**defaults_to_use)

parameter_configuration: Dict[str, ParameterConfig] = {}
transform_function_definitions: List[TransformFunctionDefinition] = []
Expand Down Expand Up @@ -204,7 +204,7 @@ def _read_defaultssheet(
first two columns in a spreadsheet. Only returns the keys that are
different from the exisiting parameters.
Returns a dict of usable default values
Returns a dict of default values
:raises: ValueError if defaults sheet is non-empty but non-parsable
"""
Expand Down

0 comments on commit fe5cc7e

Please sign in to comment.