Skip to content

outdated MP interface in getting bulk data #5

@gooaah

Description

@gooaah

Hi developers,
I meet this problem when running get_MP.py:

ImportError: cannot import name 'MPRester' from 'pymatgen' (unknown location)

Then I find the interface in get_MP.py is out of date if pymatgen is newest. The new interface is used like:

from pymatgen.ext.matproj import MPRester

And it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions