@@ -3351,7 +3351,7 @@ def test_mixed_valence_Sn5O6(self):
3351
3351
here (should be ``{"Sn4+":1, "Sn2+":4, "O2-":6}``), but it gets
3352
3352
Sn3+ and Sn2+, but at least it's closer, and the point of this
3353
3353
test is to check the ``doped`` functions at least behave as
3354
- expected with mixed valence systems.
3354
+ expected with mixed valence systems) .
3355
3355
"""
3356
3356
# it's a low-symmetry system so don't bother auto-generating supercell, this functionality is
3357
3357
# sufficiently tested:
@@ -3379,8 +3379,6 @@ def Sn5O6_defect_gen_check(self, defect_gen, manual_oxi=False):
3379
3379
"v_O_C1_Sn2.08Sn2.11O2.62 [+2,+1,0,-1] [0.441,0.198,0.292] 4e" ,
3380
3380
"v_O_C1_Sn2.08Sn2.11Sn2.14 [+2,+1,0,-1] [0.045,0.178,0.130] 4e" ,
3381
3381
"v_O_C1_Sn2.09 [+2,+1,0,-1] [0.642,0.323,0.461] 4e" ,
3382
- "Sn_Sn_C1_O2.08O2.11O2.14b [+2,+1,0,-1] [0.101,0.502,0.319] 4e" ,
3383
- "Sn_Sn_C1_O2.08Sn3.28O3.69a [+1,0,-1] [0.500,0.500,0.500] 2b" ,
3384
3382
"Sn_i_C1_Sn2.33O2.39O2.60d [+4,+3,+2,+1,0] [0.273,0.460,0.248] 4e" ,
3385
3383
"O_i_C1_O1.83Sn1.99Sn2.09a [0,-1,-2] [0.567,0.320,0.205] 4e" ,
3386
3384
]
@@ -3407,6 +3405,9 @@ def Sn5O6_defect_gen_check(self, defect_gen, manual_oxi=False):
3407
3405
for test_line in test_lines :
3408
3406
assert test_line in defect_gen ._defect_generator_info ()
3409
3407
3408
+ # no Sn_Sn defects, with SK pymatgen-analysis-defects PR #210:
3409
+ assert "Sn_Sn" not in defect_gen ._defect_generator_info ()
3410
+
3410
3411
def test_liga5o8 (self ):
3411
3412
"""
3412
3413
Test generating defects in LiGa5O8 (original material which inspired
0 commit comments