From bd6eeb796f3bed403aa6f57f9a492456284f69c3 Mon Sep 17 00:00:00 2001 From: Su Tian Date: Thu, 8 Jul 2021 13:58:20 -0400 Subject: [PATCH] 0708 --- msgpi/io/iovabs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/msgpi/io/iovabs.py b/msgpi/io/iovabs.py index 4f5784c..d048639 100644 --- a/msgpi/io/iovabs.py +++ b/msgpi/io/iovabs.py @@ -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 @@ -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]) @@ -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])