7
7
class TestQuipGapxyz1 (unittest .TestCase , CompLabeledSys , IsPBC ):
8
8
def setUp (self ) :
9
9
self .multi_systems = dpdata .MultiSystems .from_file ('xyz/xyz_unittest.xyz' ,'quip/gap/xyz' )
10
- self .system_1 = self .multi_systems .systems ['B1C9 ' ]
10
+ self .system_1 = self .multi_systems .systems ['B1C9_virials ' ]
11
11
self .system_2 = dpdata .LabeledSystem ('xyz/B1C9' , fmt = 'deepmd' )
12
12
self .places = 6
13
13
self .e_places = 6
@@ -17,11 +17,11 @@ def setUp (self) :
17
17
class TestQuipGapxyz2 (unittest .TestCase , CompLabeledSys , IsPBC ):
18
18
def setUp (self ) :
19
19
self .system_temp0 = dpdata .MultiSystems .from_file (file_name = 'xyz/xyz_unittest.xyz' , fmt = 'quip/gap/xyz' )
20
- self .system_1 = self .system_temp0 .systems ['B5C7 ' ] # .sort_atom_types()
20
+ self .system_1 = self .system_temp0 .systems ['B5C7_virials ' ] # .sort_atom_types()
21
21
self .system_temp1 = dpdata .LabeledSystem ('xyz/B1C9' , fmt = 'deepmd' )
22
22
self .system_temp2 = dpdata .LabeledSystem ('xyz/B5C7' , fmt = 'deepmd' )
23
23
self .system_temp3 = dpdata .MultiSystems (self .system_temp2 , self .system_temp1 )
24
- self .system_2 = self .system_temp3 .systems ['B5C7 ' ]
24
+ self .system_2 = self .system_temp3 .systems ['B5C7_virials ' ]
25
25
self .places = 6
26
26
self .e_places = 6
27
27
self .f_places = 6
@@ -30,10 +30,10 @@ def setUp (self) :
30
30
class TestQuipGapxyzsort1 (unittest .TestCase , CompLabeledSys , IsPBC ):
31
31
def setUp (self ) :
32
32
self .multi_systems_1 = dpdata .MultiSystems .from_file ('xyz/xyz_unittest.sort.xyz' ,'quip/gap/xyz' )
33
- self .system_1 = self .multi_systems_1 .systems ['B5C7 ' ]
33
+ self .system_1 = self .multi_systems_1 .systems ['B5C7_virials ' ]
34
34
self .system_1 .sort_atom_types ()
35
35
self .multi_systems_2 = dpdata .MultiSystems .from_file ('xyz/xyz_unittest.xyz' ,'quip/gap/xyz' )
36
- self .system_2 = self .multi_systems_2 .systems ['B5C7 ' ]
36
+ self .system_2 = self .multi_systems_2 .systems ['B5C7_virials ' ]
37
37
self .places = 6
38
38
self .e_places = 6
39
39
self .f_places = 6
@@ -42,10 +42,10 @@ def setUp (self) :
42
42
class TestQuipGapxyzsort2 (unittest .TestCase , CompLabeledSys , IsPBC ):
43
43
def setUp (self ) :
44
44
self .multi_systems_1 = dpdata .MultiSystems .from_file ('xyz/xyz_unittest.sort.xyz' ,'quip/gap/xyz' )
45
- self .system_1 = self .multi_systems_1 .systems ['B1C9 ' ]
45
+ self .system_1 = self .multi_systems_1 .systems ['B1C9_virials ' ]
46
46
self .system_1 .sort_atom_types ()
47
47
self .multi_systems_2 = dpdata .MultiSystems .from_file ('xyz/xyz_unittest.xyz' ,'quip/gap/xyz' )
48
- self .system_2 = self .multi_systems_2 .systems ['B1C9 ' ]
48
+ self .system_2 = self .multi_systems_2 .systems ['B1C9_virials ' ]
49
49
self .places = 6
50
50
self .e_places = 6
51
51
self .f_places = 6
@@ -54,10 +54,10 @@ def setUp (self) :
54
54
class TestQuipGapxyzfield (unittest .TestCase , CompLabeledSys , IsPBC ):
55
55
def setUp (self ) :
56
56
self .multi_systems_1 = dpdata .MultiSystems .from_file ('xyz/xyz_unittest.field.xyz' ,'quip/gap/xyz' )
57
- self .system_1 = self .multi_systems_1 .systems ['B1C9 ' ]
57
+ self .system_1 = self .multi_systems_1 .systems ['B1C9_virials ' ]
58
58
self .system_1 .sort_atom_types ()
59
59
self .multi_systems_2 = dpdata .MultiSystems .from_file ('xyz/xyz_unittest.xyz' ,'quip/gap/xyz' )
60
- self .system_2 = self .multi_systems_2 .systems ['B1C9 ' ]
60
+ self .system_2 = self .multi_systems_2 .systems ['B1C9_virials ' ]
61
61
self .places = 6
62
62
self .e_places = 6
63
63
self .f_places = 6
@@ -66,10 +66,10 @@ def setUp (self) :
66
66
class TestQuipGapxyzfield2 (unittest .TestCase , CompLabeledSys , IsPBC ):
67
67
def setUp (self ) :
68
68
self .multi_systems_1 = dpdata .MultiSystems .from_file ('xyz/xyz_unittest.field.xyz' ,'quip/gap/xyz' )
69
- self .system_1 = self .multi_systems_1 .systems ['B5C7 ' ]
69
+ self .system_1 = self .multi_systems_1 .systems ['B5C7_virials ' ]
70
70
self .system_1 .sort_atom_types ()
71
71
self .multi_systems_2 = dpdata .MultiSystems .from_file ('xyz/xyz_unittest.xyz' ,'quip/gap/xyz' )
72
- self .system_2 = self .multi_systems_2 .systems ['B5C7 ' ]
72
+ self .system_2 = self .multi_systems_2 .systems ['B5C7_virials ' ]
73
73
self .places = 6
74
74
self .e_places = 6
75
75
self .f_places = 6
0 commit comments