Skip to content

Commit

Permalink
Fix thermo material_id treatment in alloys (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Jul 10, 2023
1 parent bd93205 commit 424deb5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion emmet-builders/emmet/builders/materials/alloys.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ def get_items(self):
)
oxi_states_docs = {d["material_id"]: d for d in oxi_states_docs}

for material_id, d in docs.items():
for material_id in thermo_docs:
d = docs[material_id]

d["structure"] = Structure.from_dict(d["structure"])

if material_id in oxi_states_docs:
Expand Down

0 comments on commit 424deb5

Please sign in to comment.