File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -708,13 +708,13 @@ def Calculate(self, model: Model) -> None:
708
708
:type model: :class:`~geophires_x.Model.Model`
709
709
:return: None
710
710
"""
711
- model .logger .info (" Init " + str ( __class__ ) + ": " + sys ._getframe ().f_code .co_name )
711
+ model .logger .info (f' Init { __class__ !s } : { sys ._getframe ().f_code .co_name } ' )
712
712
713
713
err = self .verify (model )
714
714
if err > 0 :
715
- model . logger . fatal ( " Error: GEOPHIRES failed to Failed to validate CLGS input value. Exiting...." )
716
- print ( "Error: GEOPHIRES failed to Failed to validate CLGS input value. Exiting...." )
717
- sys . exit ( )
715
+ msg = ' Error: GEOPHIRES failed to validate CLGS input value. Exiting...'
716
+ model . logger . fatal ( msg )
717
+ raise RuntimeError ( msg )
718
718
self .initialize (model )
719
719
720
720
self .Linear_production_temperature = model .wellbores .InterpolatedTemperatureArray
You can’t perform that action at this time.
0 commit comments