예제 #1
0
 def test_mesh_symmetry(self):
     h = MeshSymmetryErrorHandler("vasp.ibzkpt")
     h.check()
     d = h.correct()
     self.assertEqual(d["errors"], ['mesh_symmetry'])
     self.assertEqual(d["actions"],
                      [{'action': {'_set': {'kpoints': [[4, 4, 4]]}},
                        'dict': 'KPOINTS'}])
예제 #2
0
 def test_mesh_symmetry(self):
     h = MeshSymmetryErrorHandler("vasp.ibzkpt")
     h.check()
     d = h.correct()
     self.assertEqual(d["errors"], ['mesh_symmetry'])
     self.assertEqual(d["actions"],
                      [{'action': {'_set': {'kpoints': [[4, 4, 4]]}},
                        'dict': 'KPOINTS'}])
예제 #3
0
 def test_mesh_symmetry(self):
     h = MeshSymmetryErrorHandler("vasp.ibzkpt")
     h.check()
     d = h.correct()
     self.assertEqual(d["errors"], ["mesh_symmetry"])
     self.assertEqual(
         d["actions"],
         [{
             "action": {
                 "_set": {
                     "kpoints": [[4, 4, 4]]
                 }
             },
             "dict": "KPOINTS"
         }],
     )