Skip to content

Commit

Permalink
update es tests to pass meta_structure explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmathis committed Jan 9, 2025
1 parent 32a4668 commit a294022
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions emmet-core/tests/test_electronic_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def test_from_bsdos_1(bandstructure, dos, structure):
deprecated=False,
setyawan_curtarolo={"mp-1056141": bandstructure},
structures={"mp-1671247": structure, "mp-1056141": structure},
meta_structure=structure,
)

assert str(es_doc.material_id) == "mp-13"
Expand Down Expand Up @@ -80,6 +81,7 @@ def test_from_bsdos_2(bandstructure_fs, dos_fs):
is_metal=True,
deprecated=False,
setyawan_curtarolo={"mp-1612487": bs},
meta_structure=dos.structure,
)

assert str(es_doc.material_id) == "mp-25375"
Expand Down

0 comments on commit a294022

Please sign in to comment.