Skip to content

Commit

Permalink
Fix message formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer committed May 14, 2024
1 parent 7e0a7b1 commit d72d04f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/geophires_x/AGSWellBores.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,21 +578,21 @@ def read_parameters(self, model: Model) -> None:

# handle error checking and special cases:
if model.reserv.numseg.value > 1:
msg = "Warning: CLGS model can only handle a single layer gradient segment. Number of Segments set to 1, \
Gradient set to Gradient[0], and Depth set to Reservoir Depth."
msg = ('Warning: CLGS model can only handle a single layer gradient segment. '
'Number of Segments set to 1, Gradient set to Gradient[0], and Depth set to Reservoir Depth.')
print(msg)
model.logger.warning(msg)
model.reserv.numseg.value = 1

if self.ninj.value > 0:
msg = "Warning: CLGS model considers the only the production wellbore parameters. Anything related to the \
injection wellbore is ignored."
msg = ('Warning: CLGS model considers the only the production wellbore parameters. '
'Anything related to the injection wellbore is ignored.')
print(msg)
model.logger.warning(msg)

if self.nprod.value != 1:
msg = "Warning: CLGS model considers the only a single production wellbore (coaxial or uloop). \
Number of production wellboreset set 1."
msg = ('Warning: CLGS model considers the only a single production wellbore (coaxial or uloop). '
'Number of production wellboreset set 1.')
print(msg)
model.logger.warning(msg)

Expand Down

0 comments on commit d72d04f

Please sign in to comment.