Skip to content

Commit d72d04f

Browse files
Fix message formatting
1 parent 7e0a7b1 commit d72d04f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/geophires_x/AGSWellBores.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -578,21 +578,21 @@ def read_parameters(self, model: Model) -> None:
578578

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

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

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

0 commit comments

Comments
 (0)