Skip to content

Commit

Permalink
SHA-GM Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
el7addad committed Jul 25, 2018
1 parent 089292a commit f67c8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion createEVENT/SHA-GM.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def readNGAWest2File(ngaW2FilePath, scaleFactor):
canRead = False #We need to process the header first
for line in recordFile:
if(canRead):
series.extend([float(value) * scaleFactor for value in line.split()])
series.extend([float(value) * scaleFactor * 9.81 for value in line.split()])

elif("NPTS=" in line):
dt = float(re.match(r"NPTS=.+, DT=\s+([0-9\.]+)\s+SEC", line).group(1))
Expand Down

0 comments on commit f67c8a1

Please sign in to comment.