We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823fa60 commit 3a91d7aCopy full SHA for 3a91d7a
dpdata/vasp/outcar.py
@@ -15,7 +15,7 @@ def system_info (lines, type_idx_zero = False) :
15
atom_names.append(_ii)
16
elif 'NELM' in ii and nelm == None:
17
# will read only first nelm
18
- nelm = int(ii.split()[2][:-1])
+ nelm = int(ii.split()[2].rstrip(";"))
19
elif 'ions per type' in ii :
20
atom_numbs_ = [int(s) for s in ii.split()[4:]]
21
if atom_numbs is None :
0 commit comments