@@ -253,10 +253,10 @@ def ReadParameter(ParameterReadIn: ParameterEntry, ParamToModify, model):
253
253
"""
254
254
ReadParameter: A method to take a single ParameterEntry object and use it to update the associated Parameter.
255
255
Does validation as well as Unit and Currency conversion
256
- :param ParameterEntry : The value the user wants to change and the value they want to change it to (as a string)
256
+ :param ParameterReadIn : The value the user wants to change and the value they want to change it to (as a string)
257
257
and any comment they provided with it (as a string) - all in one object (ParameterEntry) that is passed in
258
258
to this method as a parameter itself (ParameterReadIn) - see ParameterEntry class for details on the fields in it
259
- :type ParameterEntry : :class:`~geophires_x.Parameter.ParameterEntry`
259
+ :type ParameterReadIn : :class:`~geophires_x.Parameter.ParameterEntry`
260
260
:param ParamToModify: The Parameter that will be modified (assuming it passes validation and conversion) - this is
261
261
the object that will be modified by this method - see Parameter class for details on the fields in it
262
262
:type ParamToModify: :class:`~geophires_x.Parameter.Parameter`
@@ -293,9 +293,9 @@ def ReadParameter(ParameterReadIn: ParameterEntry, ParamToModify, model):
293
293
294
294
def default_parameter_value_message (new_val : Any , param_to_modify_name : str , default_value : Any ) -> str :
295
295
return (
296
- f'Parameter given ({ str (New_val )} ) for { ParamToModify . Name } is the same as the default value. '
297
- f'Consider removing { ParamToModify . Name } from the input file unless you wish '
298
- f'to change it from the default value of ({ str (ParamToModify . DefaultValue )} )'
296
+ f'Parameter given ({ str (new_val )} ) for { param_to_modify_name } is the same as the default value. '
297
+ f'Consider removing { param_to_modify_name } from the input file unless you wish '
298
+ f'to change it from the default value of ({ str (default_value )} )'
299
299
)
300
300
301
301
if isinstance (ParamToModify , intParameter ):
0 commit comments