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

View File

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