Skip to content

Commit d950bd9

Browse files
Strip extraneous whitespace from reservoir model tooltip text
1 parent 35d00b2 commit d950bd9

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

src/geophires_x/Reservoir.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,14 @@ def __init__(self, model: Model):
228228
Required=True,
229229
UnitType=Units.NONE,
230230
ErrMessage="assume default reservoir volume option",
231-
ToolTipText="Specifies how the reservoir volume, and fracture distribution (for reservoir models 1 and 2) \
232-
are calculated. The reservoir volume is used by GEOPHIRES to estimate the stored heat in place. The \
233-
fracture distribution is needed as input for the EGS fracture-based reservoir models 1 and 2: \
234-
Specify number of fractures and fracture separation, 2: Specify reservoir volume and fracture separation, \
235-
3: Specify reservoir volume and number of fractures, 4: Specify reservoir volume only \
236-
(sufficient for reservoir models 3, 4, 5 and 6)"
231+
ToolTipText=(
232+
"Specifies how the reservoir volume, and fracture distribution (for reservoir models 1 and 2) "
233+
"are calculated. The reservoir volume is used by GEOPHIRES to estimate the stored heat in place. The "
234+
"fracture distribution is needed as input for the EGS fracture-based reservoir models 1 and 2: "
235+
"Specify number of fractures and fracture separation, 2: Specify reservoir volume and fracture separation, "
236+
"3: Specify reservoir volume and number of fractures, 4: Specify reservoir volume only "
237+
"(sufficient for reservoir models 3, 4, 5 and 6)"
238+
)
237239
)
238240

239241
self.fracshape = self.ParameterDict[self.fracshape.Name] = intParameter(

src/geophires_x_schema_generator/geophires-request.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
"maximum": 100.0
180180
},
181181
"Reservoir Volume Option": {
182-
"description": "Specifies how the reservoir volume, and fracture distribution (for reservoir models 1 and 2) are calculated. The reservoir volume is used by GEOPHIRES to estimate the stored heat in place. The fracture distribution is needed as input for the EGS fracture-based reservoir models 1 and 2: Specify number of fractures and fracture separation, 2: Specify reservoir volume and fracture separation, 3: Specify reservoir volume and number of fractures, 4: Specify reservoir volume only (sufficient for reservoir models 3, 4, 5 and 6)",
182+
"description": "Specifies how the reservoir volume, and fracture distribution (for reservoir models 1 and 2) are calculated. The reservoir volume is used by GEOPHIRES to estimate the stored heat in place. The fracture distribution is needed as input for the EGS fracture-based reservoir models 1 and 2: Specify number of fractures and fracture separation, 2: Specify reservoir volume and fracture separation, 3: Specify reservoir volume and number of fractures, 4: Specify reservoir volume only (sufficient for reservoir models 3, 4, 5 and 6)",
183183
"type": "integer",
184184
"units": null,
185185
"category": "Reservoir",

0 commit comments

Comments
 (0)