SSCHAcode / python-sscha

The python implementation of the Stochastic Self-Consistent Harmonic Approximation (SSCHA).
GNU General Public License v3.0
55 stars 21 forks source link

Fix: props not computed are not poped (AiiDA) #158

Closed bastonero closed 10 months ago

bastonero commented 11 months ago

The compute_ensemble didn't clean properly the ensemble properties. This lead to wrong results, as the forces are initialized to zero, hence when not removed they were considered in the minimization cycle. A clean function is added to remove the failed workchains. A proper test is provided.