Minor fix of FHIaims.py

This commit is contained in:
Atsushi Togo 2017-09-06 13:51:04 +02:00
parent 5c6b303304
commit c8da9a251c
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ def read_aims_output(filename):
N = 0
while l < len(lines):
line = lines[l]
if "Number of atoms" in line:
if "| Number of atoms" in line:
N = int(line.split()[5])
elif "| Unit cell:" in line:
cell = []