Skip to content

Commit

Permalink
and test_energy_lowering_distortions
Browse files Browse the repository at this point in the history
  • Loading branch information
ireaml committed Sep 6, 2023
1 parent 5d00fdb commit a947e51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_energy_lowering_distortions.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ def test_read_defects_directories(self):
os.path.join(self.DATA_DIR, "vasp")
)
defect_charges_dict = {**defect_charges_dict_cdte, **defect_charges_dict_tio2}
self.assertDictEqual(defect_charges_dict, {"vac_1_Ti": [0], "vac_1_Cd": [0]})
self.assertDictEqual(
defect_charges_dict, {"v_O_s1": [0], "vac_1_Ti": [0], "vac_1_Cd": [0]}
)

for i in self.defect_folders_list:
os.mkdir(os.path.join(self.VASP_CDTE_DATA_DIR, i))
Expand All @@ -204,6 +206,7 @@ def test_read_defects_directories(self):
"sub_1_In_on_Cd": [1],
"vac_1_Cd": [0],
"vac_1_Ti": [0],
"v_O_s1": [0],
}
self.assertEqual(
defect_charges_dict.keys(),
Expand Down

0 comments on commit a947e51

Please sign in to comment.