I hope this message finds you well. I am writing to seek assistance regarding an issue I have encountered while using the Materials Project API to generate a phase diagram for the Li-Fe-O system. Issue Description: While utilizing the API to fetch and visualize the phase diagram, I noticed a discrepancy in the data points compared to those displayed on the Materials Project web interface. Specifically, the phase diagram generated via the API is missing the entry for Fe3O4, even though the web interface includes this point with the same stability criteria (energy above hull set to 10 meV/atom).
Reproduction Steps:
I used the following code to retrieve entries and generate the phase diagram:
:from Materials Project Web.
I am eager to resolve this issue to continue my research without any interruptions. Thank you in advance for your time and assistance. I look forward to your response.
@hmqwjf thanks for reporting this and great catch! Your code snippet in #1 (retrieving entries and generating the PD) is correct and will always be up-to-date. The web interface is trying to use internally pre-built phase diagrams that are currently out-of-date, unfortunately. We’re working on getting this fixed in the next few days. Sorry for the inconvenience and thanks for your patience.
Hi @hmqwjf, thanks for pointing out the inconsistency in the chemical potential plots. As of today’s deployment (2025-02-12) the issue should be resolved.
The chemical potential plot for the GGA/GGA+U functional for Li-Fe-O displayed on the phase diagram app is now consistent with the plot you generated using the entries retrieved from the api.