Python Materials Genomics (pymatgen) is a robust materials analysis code that defines classes for structures and molecules with support for many electronic structure codes. It powers the Materials Project.
This PR fixes the bug when parsing non-self-consistent calculation done with ALGO=Exact and NELM=1. In such senario, the electronic step of the calculation will never truly converge. However, this is what we expect in non-self-consistent calculations, as we only have one electronic step. In this PR, I hacked the converged_electronic method of the Vasprun class, which will return True in this senario.
Summary
Major changes:
This PR fixes the bug when parsing non-self-consistent calculation done with
ALGO=Exact
andNELM=1
. In such senario, the electronic step of the calculation will never truly converge. However, this is what we expect in non-self-consistent calculations, as we only have one electronic step. In this PR, I hacked theconverged_electronic
method of theVasprun
class, which will returnTrue
in this senario.