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])