Closed pbenner closed 1 year ago
That consistency check is broken because the elemental reference energies used by the PatchedPhaseDiagram
and the get_e_form_per_atom()
function have diverged slightly. I requeried all MP ComputedStructureEntries
a few weeks before publishing this repo, whereas get_e_form_per_atom()
still uses MP refs from when I originally queried them in Sep 2022.
It passes if you loosen the trigger a lot:
- abs(e_form - e_form_ppd) < 1e-4
+ abs(e_form - e_form_ppd) < 0.1
but a real fix requires updating the elemental references used by get_e_form_per_atom()
. Thanks for flagging this.
Here's old vs new:
Hmmm... didn't expect the difference to be so large. For I
and Br
in particular it's 50 and 80 meV / atom. Using the new refs, the consistency check again passes.
The difference in WBM formation energies before and after is ~2 meV/atom, small enough to not affect the analysis.
(e_form_per_atom_uncorrected_old - e_form_per_atom_uncorrected_new).abs().mean() = 0.001965
Executing fetch_process_wbm_dataset.py results in the following error: