File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ def setUp(self):
19
19
self .fstar = FStarDiagram (structures = self .struct_list )
20
20
21
21
def test_edit_fstar_diagram (self ):
22
- assert self .fstar .site_labels == ["[0. 0. 0.]Li " , "[0. 0. 0.5]Co" , "[0. 0. 0.25]O " ]
22
+ assert self .fstar .site_labels == ["[0. 0. 0.25]O " , "[0. 0. 0.5]Co" , "[0. 0. 0.]Li " ]
23
23
new = FStarDiagram (structures = self .struct_list )
24
24
assert self .fstar .plot == new .plot
25
25
new .combine_sites (site_lists = [["[0. 0. 0.5]Co" , "[0. 0. 0.]Li" ]])
26
26
assert new .site_labels == [
27
- " [0. 0. 0.]Li" ,
28
- " [0. 0. 0.5]Co" ,
29
- " [0. 0. 0.25]O" ,
27
+ ' [0. 0. 0.25]O' ,
28
+ ' [0. 0. 0.5]Co' ,
29
+ ' [0. 0. 0.]Li' ,
30
30
"['[0. 0. 0.5]Co', '[0. 0. 0.]Li']" ,
31
31
]
32
32
assert list (new .fstar_coords ["['[0. 0. 0.5]Co', '[0. 0. 0.]Li']" ].to_numpy ()) == list (
You can’t perform that action at this time.
0 commit comments