File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 27
27
from pymatgen .entries .computed_entries import ComputedEntry , GibbsComputedStructureEntry
28
28
from pymatgen .io .cif import CifParser
29
29
from pymatgen .io .vasp import Chgcar
30
- from pymatgen .phonon .bandstructure import PhononBandStructureSymmLine
31
- from pymatgen .phonon .dos import PhononDos
30
+ from emmet .core .phonon import PhononDOS , PhononBS
32
31
33
32
from mp_api .client import MPRester
34
33
from mp_api .client .core .client import MPRestError
@@ -291,10 +290,10 @@ def test_get_ion_entries(self, mpr):
291
290
292
291
def test_get_phonon_data_by_material_id (self , mpr ):
293
292
bs = mpr .get_phonon_bandstructure_by_material_id ("mp-2172" )
294
- assert isinstance (bs , PhononBandStructureSymmLine )
293
+ assert isinstance (bs , PhononBS )
295
294
296
295
dos = mpr .get_phonon_dos_by_material_id ("mp-2172" )
297
- assert isinstance (dos , PhononDos )
296
+ assert isinstance (dos , PhononDOS )
298
297
299
298
def test_get_charge_density_from_material_id (self , mpr ):
300
299
chgcar = mpr .get_charge_density_from_material_id ("mp-149" )
You can’t perform that action at this time.
0 commit comments