mirror of https://github.com/phonopy/phonopy.git
Make directories and move files
This commit is contained in:
parent
05c498dee8
commit
83355c6793
|
@ -1,7 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from phonopy.interface.phonopy_yaml import phonopyYaml
|
||||
from phonopy.structure.atoms import PhonopyAtoms
|
||||
|
||||
class TestPhonopyYaml(unittest.TestCase):
|
||||
|
|
@ -24,13 +24,13 @@ class TestCell(unittest.TestCase):
|
|||
pass
|
||||
|
||||
def test_atoms(self):
|
||||
print self._cell.get_cell()
|
||||
print(self._cell.get_cell())
|
||||
for s, p in zip(self._cell.get_chemical_symbols(),
|
||||
self._cell.get_scaled_positions()):
|
||||
print s, p
|
||||
|
||||
def test_phonopy_atoms(self):
|
||||
print PhonopyAtoms(atoms=self._cell)
|
||||
print(PhonopyAtoms(atoms=self._cell))
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Loading…
Reference in New Issue