File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1148,8 +1148,8 @@ def find_eq_types(label, section) -> list:
1148
1148
for dct in topo_coeffs [kw ]:
1149
1149
main_data .append (dct ["coeffs" ])
1150
1150
distinct_types .append (dct ["types" ])
1151
- for key , val in class2_data .items ():
1152
- class2_data [ key ] .append (val )
1151
+ for key , lst in class2_data .items ():
1152
+ lst .append (dct [ key ] )
1153
1153
distinct_types = [set (itertools .chain (* (find_eq_types (t , kw ) for t in dt ))) for dt in distinct_types ]
1154
1154
type_counts = sum (len (dt ) for dt in distinct_types )
1155
1155
type_union = set .union (* distinct_types )
Original file line number Diff line number Diff line change @@ -1830,7 +1830,7 @@ def test_n2_spin(self):
1830
1830
1831
1831
orig_gen_g_points = Wavecar ._generate_G_points
1832
1832
try :
1833
- Wavecar ._generate_G_points = lambda _x , _y , _gamma : []
1833
+ Wavecar ._generate_G_points = lambda _x , _y , gamma : []
1834
1834
with pytest .raises (ValueError , match = r"not enough values to unpack \(expected 3, got 0\)" ):
1835
1835
Wavecar (f"{ VASP_OUT_DIR } /WAVECAR.N2" )
1836
1836
finally :
You can’t perform that action at this time.
0 commit comments