From a022fd63f593d8358f4ee5825c3f77c7efac924a Mon Sep 17 00:00:00 2001 From: softwareengineerprogrammer <4056124+softwareengineerprogrammer@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:05:37 -0800 Subject: [PATCH] Fix CLGS validation failure message --- src/geophires_x/AGSEconomics.py | 2 +- src/geophires_x/AGSWellBores.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/geophires_x/AGSEconomics.py b/src/geophires_x/AGSEconomics.py index 4db72ec5..b4d99424 100644 --- a/src/geophires_x/AGSEconomics.py +++ b/src/geophires_x/AGSEconomics.py @@ -189,7 +189,7 @@ def Calculate(self, model: Model) -> None: # use the CLGS-Style economic calculations err = self.verify(model) if err > 0: - msg = 'Error: GEOPHIRES failed to Failed to validate CLGS input value. Exiting....' + msg = 'Error: GEOPHIRES failed to validate CLGS input value. Exiting...' print(msg) raise RuntimeError(msg) diff --git a/src/geophires_x/AGSWellBores.py b/src/geophires_x/AGSWellBores.py index c46f5f29..7604a8ae 100644 --- a/src/geophires_x/AGSWellBores.py +++ b/src/geophires_x/AGSWellBores.py @@ -977,7 +977,7 @@ def Calculate(self, model: Model) -> None: # do the CLGS-style calculation err = self.verify(model) if err > 0: - msg = 'Error: GEOPHIRES failed to Failed to validate CLGS input value. Exiting....' + msg = 'Error: GEOPHIRES failed to validate CLGS input value. Exiting...' model.logger.fatal(msg) print(msg)