mirror of https://github.com/lammps/lammps.git
Fix PyLammps regression after output.cpp change
This commit is contained in:
parent
6d0a228624
commit
71553cf732
python
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue