Skip to content

Commit

Permalink
0708
Browse files Browse the repository at this point in the history
  • Loading branch information
Su Tian committed Jul 8, 2021
1 parent a1fa7aa commit bd6eeb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions msgpi/io/iovabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def readVABSOutHomo(fn, scrnout=True):
continue

line = line.lower()
line = line.replace('-', ' ')
# line = line.replace('-', ' ')

if 'geometric center' in line:
keywordsIndex['gc'] = ln
Expand All @@ -281,7 +281,7 @@ def readVABSOutHomo(fn, scrnout=True):
keywordsIndex['mass_mc'] = ln
elif '6x6 mass matrix' in line:
keywordsIndex['mass'] = ln
elif 'mass center of the cross section' in line:
elif 'mass center of the cross section' in line or 'mass center of the cross-section' in line:
keywordsIndex['mc'] = ln
elif 'mass per unit span' in line:
bp.mu = float(line.split()[-1])
Expand All @@ -295,7 +295,7 @@ def readVABSOutHomo(fn, scrnout=True):
line = line.split()
tmp_id = line.index('degrees')
bp.phi_pia = float(line[tmp_id - 1])
elif 'mass weighted radius of gyration' in line:
elif 'mass-weighted radius of gyration' in line:
bp.rg = float(line.split()[-1])


Expand Down

0 comments on commit bd6eeb7

Please sign in to comment.