Open timurbazhirov opened 9 months ago
Implemented the ability to parse material structure using JARVIS DB Entry data in https://github.com/Exabyte-io/express/pull/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.
Done:
Per https://github.com/Exabyte-io/esse/issues/282#issue-2024460390 for more info