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

JARVIS to ESSE converter #165

Open
timurbazhirov opened this issue Dec 4, 2023 · 4 comments
Open

JARVIS to ESSE converter #165

timurbazhirov opened this issue Dec 4, 2023 · 4 comments
Assignees

Comments

@timurbazhirov
Copy link
Member

Per Exabyte-io/esse#282 (comment) for more info

@timurbazhirov timurbazhirov self-assigned this Dec 4, 2023
@timurbazhirov
Copy link
Member Author

Implemented the ability to parse material structure using JARVIS DB Entry data in Exabyte-io/express#139.

Successful tests run: https://github.com/Exabyte-io/express/actions/runs/7649919161/job/20845144224?pr=139

The usage pattern is:

import json
from express import ExPrESS

with open("./JVASP-677.json") as f:
    jarvis_db_entry = f.read()

kwargs = {
    "structure_string": jarvis_db_entry,
    "structure_format": "jarvis-db-entry"
}

express_ = ExPrESS("structure", **kwargs)
print json.dumps(express_.property("material"), indent=4)

The format for the db entries is taken from https://figshare.com/articles/dataset/Monolayer_data_for_heterostructure/22344571 assuming it is format of the array element.

@timurbazhirov
Copy link
Member Author

Done:

@knc6
Copy link

knc6 commented Feb 2, 2024

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