Fix PyLammps regression after output.cpp change

This commit is contained in:
Richard Berger 2017-07-31 13:53:41 -06:00
parent 6d0a228624
commit 71553cf732
1 changed files with 2 additions and 1 deletions
python

View File

@ -556,9 +556,10 @@ def get_thermo_data(output):
runs = []
columns = []
in_run = False
current_run = {}
for line in lines:
if line.startswith("Memory usage per processor"):
if line.startswith("Per MPI rank memory allocation"):
in_run = True
elif in_run and len(columns) == 0:
# first line after memory usage are column names