Skip to content

Question about fetching Materials Project Data #35

@shuix007

Description

@shuix007

Hi,

Thank you for your great work! I am trying to fetch the data from the Materials Project database based on the mp-ids that you provided. I am wondering if the mp-ids that you provided are materials id or task id?

I tried

MPRester().get_structure_by_material_id(id)

but a lot of the ids in your csv files return void responses. Then I tried

mid = get_materials_id_from_task_id(id)
structure = get_structure_by_material_id(mid)

and it worked. I want to ask if this is the correct way of fetching the dataset.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions