VLab Issue #8325 - DR17502 Hazard_TCV.py: impact statements pulled from TCVDictionary printed twice in the first bullet; fixes #8325
Change-Id: I06f23b7cdaff8862ecb37f86bcf2345b52478e4b Former-commit-id: adf4d3e9f28e0da25441ab3dcea38073c622d76b
This commit is contained in:
parent
0a787b2216
commit
82cb59b640
1 changed files with 5 additions and 6 deletions
|
@ -1516,12 +1516,11 @@ class SectionCommon():
|
|||
pass
|
||||
|
||||
# If this is the "default" case
|
||||
if self._tr == "default" and len(statements) > 0:
|
||||
|
||||
if elementName in ["Wind", "Storm Surge"]:
|
||||
if statements[0].find("If realized, ") == -1:
|
||||
statements[0] = "If realized, " + statements[0] + \
|
||||
statements[0][1:]
|
||||
#if self._tr == "default" and len(statements) > 0:
|
||||
#
|
||||
# if elementName in ["Wind", "Storm Surge"]:
|
||||
# if statements[0].find("If realized, ") == -1:
|
||||
# statements[0] = "If realized, " + statements[0][0].lower() + statements[0][1:]
|
||||
|
||||
return statements
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue