Skip to content

Commit

Permalink
Fix CLGS validation failure message
Browse files Browse the repository at this point in the history
softwareengineerprogrammer committed Nov 13, 2024
1 parent 34c6534 commit a022fd6
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/geophires_x/AGSEconomics.py
Original file line number Diff line number Diff line change
@@ -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)

2 changes: 1 addition & 1 deletion src/geophires_x/AGSWellBores.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit a022fd6

Please sign in to comment.