Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dpdata/abacus/scf.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def get_energy(outlines):
Etot = float(line.split()[1]) # in eV
break
if not Etot:
raise RuntimeError("Final total energy cannot be found in output. Unknown problem.")
return Etot,False
for line in outlines:
if "convergence has NOT been achieved!" in line:
return Etot,False
Expand Down