@@ -104,23 +104,23 @@ class P_cif(StructureParser):
104104 "_tr_atom_site_cartn_x" ,
105105 "_tr_atom_site_cartn_y" ,
106106 "_tr_atom_site_cartn_z" ,
107- "_tr_atom_site_U_iso_or_equiv " ,
108- "_tr_atom_site_B_iso_or_equiv " ,
107+ "_tr_atom_site_u_iso_or_equiv " ,
108+ "_tr_atom_site_b_iso_or_equiv " ,
109109 "_tr_atom_site_adp_type" ,
110110 "_tr_atom_site_thermal_displace_type" ,
111111 "_tr_atom_site_occupancy" ,
112- "_tr_atom_site_aniso_U_11 " ,
113- "_tr_atom_site_aniso_U_22 " ,
114- "_tr_atom_site_aniso_U_33 " ,
115- "_tr_atom_site_aniso_U_12 " ,
116- "_tr_atom_site_aniso_U_13 " ,
117- "_tr_atom_site_aniso_U_23 " ,
118- "_tr_atom_site_aniso_B_11 " ,
119- "_tr_atom_site_aniso_B_22 " ,
120- "_tr_atom_site_aniso_B_33 " ,
121- "_tr_atom_site_aniso_B_12 " ,
122- "_tr_atom_site_aniso_B_13 " ,
123- "_tr_atom_site_aniso_B_23 " ,
112+ "_tr_atom_site_aniso_u_11 " ,
113+ "_tr_atom_site_aniso_u_22 " ,
114+ "_tr_atom_site_aniso_u_33 " ,
115+ "_tr_atom_site_aniso_u_12 " ,
116+ "_tr_atom_site_aniso_u_13 " ,
117+ "_tr_atom_site_aniso_u_23 " ,
118+ "_tr_atom_site_aniso_b_11 " ,
119+ "_tr_atom_site_aniso_b_22 " ,
120+ "_tr_atom_site_aniso_b_33 " ,
121+ "_tr_atom_site_aniso_b_12 " ,
122+ "_tr_atom_site_aniso_b_13 " ,
123+ "_tr_atom_site_aniso_b_23 " ,
124124 )
125125 )
126126 # make _atom_setters case insensitive
@@ -185,15 +185,15 @@ def _tr_atom_site_cartn_z(a, value):
185185
186186 _tr_atom_site_cartn_z = staticmethod (_tr_atom_site_cartn_z )
187187
188- def _tr_atom_site_U_iso_or_equiv (a , value ):
188+ def _tr_atom_site_u_iso_or_equiv (a , value ):
189189 a .Uisoequiv = leading_float (value )
190190
191- _tr_atom_site_U_iso_or_equiv = staticmethod (_tr_atom_site_U_iso_or_equiv )
191+ _tr_atom_site_u_iso_or_equiv = staticmethod (_tr_atom_site_u_iso_or_equiv )
192192
193- def _tr_atom_site_B_iso_or_equiv (a , value ):
193+ def _tr_atom_site_b_iso_or_equiv (a , value ):
194194 a .Uisoequiv = P_cif .BtoU * leading_float (value )
195195
196- _tr_atom_site_B_iso_or_equiv = staticmethod (_tr_atom_site_B_iso_or_equiv )
196+ _tr_atom_site_b_iso_or_equiv = staticmethod (_tr_atom_site_b_iso_or_equiv )
197197
198198 def _tr_atom_site_adp_type (a , value ):
199199 a .anisotropy = value not in ("Uiso" , "Biso" )
@@ -206,65 +206,65 @@ def _tr_atom_site_occupancy(a, value):
206206
207207 _tr_atom_site_occupancy = staticmethod (_tr_atom_site_occupancy )
208208
209- def _tr_atom_site_aniso_U_11 (a , value ):
209+ def _tr_atom_site_aniso_u_11 (a , value ):
210210 a .U11 = leading_float (value )
211211
212- _tr_atom_site_aniso_U_11 = staticmethod (_tr_atom_site_aniso_U_11 )
212+ _tr_atom_site_aniso_u_11 = staticmethod (_tr_atom_site_aniso_u_11 )
213213
214- def _tr_atom_site_aniso_U_22 (a , value ):
214+ def _tr_atom_site_aniso_u_22 (a , value ):
215215 a .U22 = leading_float (value )
216216
217- _tr_atom_site_aniso_U_22 = staticmethod (_tr_atom_site_aniso_U_22 )
217+ _tr_atom_site_aniso_u_22 = staticmethod (_tr_atom_site_aniso_u_22 )
218218
219- def _tr_atom_site_aniso_U_33 (a , value ):
219+ def _tr_atom_site_aniso_u_33 (a , value ):
220220 a .U33 = leading_float (value )
221221
222- _tr_atom_site_aniso_U_33 = staticmethod (_tr_atom_site_aniso_U_33 )
222+ _tr_atom_site_aniso_u_33 = staticmethod (_tr_atom_site_aniso_u_33 )
223223
224- def _tr_atom_site_aniso_U_12 (a , value ):
224+ def _tr_atom_site_aniso_u_12 (a , value ):
225225 a .U12 = leading_float (value )
226226
227- _tr_atom_site_aniso_U_12 = staticmethod (_tr_atom_site_aniso_U_12 )
227+ _tr_atom_site_aniso_u_12 = staticmethod (_tr_atom_site_aniso_u_12 )
228228
229- def _tr_atom_site_aniso_U_13 (a , value ):
229+ def _tr_atom_site_aniso_u_13 (a , value ):
230230 a .U13 = leading_float (value )
231231
232- _tr_atom_site_aniso_U_13 = staticmethod (_tr_atom_site_aniso_U_13 )
232+ _tr_atom_site_aniso_u_13 = staticmethod (_tr_atom_site_aniso_u_13 )
233233
234- def _tr_atom_site_aniso_U_23 (a , value ):
234+ def _tr_atom_site_aniso_u_23 (a , value ):
235235 a .U23 = leading_float (value )
236236
237- _tr_atom_site_aniso_U_23 = staticmethod (_tr_atom_site_aniso_U_23 )
237+ _tr_atom_site_aniso_u_23 = staticmethod (_tr_atom_site_aniso_u_23 )
238238
239- def _tr_atom_site_aniso_B_11 (a , value ):
239+ def _tr_atom_site_aniso_b_11 (a , value ):
240240 a .U11 = P_cif .BtoU * leading_float (value )
241241
242- _tr_atom_site_aniso_B_11 = staticmethod (_tr_atom_site_aniso_B_11 )
242+ _tr_atom_site_aniso_b_11 = staticmethod (_tr_atom_site_aniso_b_11 )
243243
244- def _tr_atom_site_aniso_B_22 (a , value ):
244+ def _tr_atom_site_aniso_b_22 (a , value ):
245245 a .U22 = P_cif .BtoU * leading_float (value )
246246
247- _tr_atom_site_aniso_B_22 = staticmethod (_tr_atom_site_aniso_B_22 )
247+ _tr_atom_site_aniso_b_22 = staticmethod (_tr_atom_site_aniso_b_22 )
248248
249- def _tr_atom_site_aniso_B_33 (a , value ):
249+ def _tr_atom_site_aniso_b_33 (a , value ):
250250 a .U33 = P_cif .BtoU * leading_float (value )
251251
252- _tr_atom_site_aniso_B_33 = staticmethod (_tr_atom_site_aniso_B_33 )
252+ _tr_atom_site_aniso_b_33 = staticmethod (_tr_atom_site_aniso_b_33 )
253253
254- def _tr_atom_site_aniso_B_12 (a , value ):
254+ def _tr_atom_site_aniso_b_12 (a , value ):
255255 a .U12 = P_cif .BtoU * leading_float (value )
256256
257- _tr_atom_site_aniso_B_12 = staticmethod (_tr_atom_site_aniso_B_12 )
257+ _tr_atom_site_aniso_b_12 = staticmethod (_tr_atom_site_aniso_b_12 )
258258
259- def _tr_atom_site_aniso_B_13 (a , value ):
259+ def _tr_atom_site_aniso_b_13 (a , value ):
260260 a .U13 = P_cif .BtoU * leading_float (value )
261261
262- _tr_atom_site_aniso_B_13 = staticmethod (_tr_atom_site_aniso_B_13 )
262+ _tr_atom_site_aniso_b_13 = staticmethod (_tr_atom_site_aniso_b_13 )
263263
264- def _tr_atom_site_aniso_B_23 (a , value ):
264+ def _tr_atom_site_aniso_b_23 (a , value ):
265265 a .U23 = P_cif .BtoU * leading_float (value )
266266
267- _tr_atom_site_aniso_B_23 = staticmethod (_tr_atom_site_aniso_B_23 )
267+ _tr_atom_site_aniso_b_23 = staticmethod (_tr_atom_site_aniso_b_23 )
268268
269269 def _get_atom_setters (cifloop ):
270270 """Static method for finding translators of CifLoop items to
@@ -602,10 +602,10 @@ def _parse_space_group_symop_operation_xyz(self, block):
602602 if self .spacegroup is None :
603603 emsg = "CIF file has unknown space group identifier {!r}."
604604 raise StructureFormatError (emsg .format (sgid ))
605- self ._expandAsymmetricUnit (block )
605+ self ._expand_asymmetric_unit (block )
606606 return
607607
608- def _expandAsymmetricUnit (self , block ):
608+ def _expand_asymmetric_unit (self , block ):
609609 """Perform symmetry expansion of `self.stru` using
610610 `self.spacegroup`.
611611
0 commit comments