matminer icon indicating copy to clipboard operation
matminer copied to clipboard

Update thermo.py

Open oslopanda opened this issue 1 year ago • 0 comments

Summary

The original code only works on legacy materials API which .get_data method can be used. The new materials API using .summary.search method and returns objects. Now the code is modified to handle both the new and old materials project API. Depending on the API key length, the MPRester class in pymatgen will automatically chose the old or new API to query.

oslopanda avatar May 12 '23 07:05 oslopanda