Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPRester.get_entries returned inconsistent results #873

Open
goodwilling opened this issue Dec 1, 2023 · 1 comment
Open

MPRester.get_entries returned inconsistent results #873

goodwilling opened this issue Dec 1, 2023 · 1 comment

Comments

@goodwilling
Copy link

-------------script starts-------------------
from mp_api.client import MPRester

mpr = MPRester("32-digit API key")
entries = mpr.get_entries("mp-546794", inc_structure=None,
property_data=["material_id", "composition", "energy_above_hull"], #sort_by_e_above_hull=True,
additional_criteria={"thermo_types": ["GGA_GGA+U"]})
-------------script ends-------------------

The above script returned the entry of mp-546794 with energy_above_hull = 0.0. However, using mpr.summary.search
or referring to the web site of mp-546794 shows the energy_above_hull of mp-546794 is 0.005647450555557043 or 0.006.

@munrojm
Copy link
Member

munrojm commented Dec 1, 2023

The summary energy above hull data is pulled from the GGA/GGA+U/R2SCAN hull which is probably where this difference is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants