pymatgen icon indicating copy to clipboard operation
pymatgen copied to clipboard

tribchem: "Fixing" some issues in pymatgen.

Open hongyi-zhao opened this issue 1 year ago • 0 comments

In README.md of tribchem, I noticed the following description here:

"Fixing" some issues in pymatgen

In our installation, we encountered an error due to partial incompatibility of the old Materials Project API within the pymatgen package. Here is the suggested fix. The user should go to line 177 of the file <path_virtual_env>/lib/python3.8/site-packages/pymatgen/ext/matproj.py and find:

self.preamble = SETTINGS.get("PMG_MAPI_ENDPOINT",https://materialsproject.org/rest/v2)

Then, replace the URL address with the legacy one: https://legacy.materialsproject.org/rest/v2

It bothers me. Is this a bug in pymatgen?

See here for the related discussion.

Regards, Zhao

hongyi-zhao avatar Jan 31 '24 05:01 hongyi-zhao