From d72d04f5b2edc00a2847d1bf998c6892bea4180c Mon Sep 17 00:00:00 2001 From: softwareengineerprogrammer <4056124+softwareengineerprogrammer@users.noreply.github.com> Date: Tue, 14 May 2024 09:58:55 -0700 Subject: [PATCH] Fix message formatting --- src/geophires_x/AGSWellBores.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/geophires_x/AGSWellBores.py b/src/geophires_x/AGSWellBores.py index a179e4c5..9d4d9552 100644 --- a/src/geophires_x/AGSWellBores.py +++ b/src/geophires_x/AGSWellBores.py @@ -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)