@@ -113,22 +113,22 @@ def _init_param(self, jdata):
113113 # elif fitting_type == 'wfc':
114114 # self.fitting = WFCFitting(fitting_param, self.descrpt)
115115 elif fitting_type == 'dipole' :
116- if descrpt_type == 'se_a ' :
116+ if descrpt_type == 'se_e2_a ' :
117117 self .fitting = DipoleFittingSeA (** fitting_param )
118118 else :
119- raise RuntimeError ('fitting dipole only supports descrptors: se_a ' )
119+ raise RuntimeError ('fitting dipole only supports descrptors: se_e2_a ' )
120120 elif fitting_type == 'polar' :
121121 # if descrpt_type == 'loc_frame':
122122 # self.fitting = PolarFittingLocFrame(fitting_param, self.descrpt)
123- if descrpt_type == 'se_a ' :
123+ if descrpt_type == 'se_e2_a ' :
124124 self .fitting = PolarFittingSeA (** fitting_param )
125125 else :
126- raise RuntimeError ('fitting polar only supports descrptors: loc_frame and se_a ' )
126+ raise RuntimeError ('fitting polar only supports descrptors: loc_frame and se_e2_a ' )
127127 elif fitting_type == 'global_polar' :
128- if descrpt_type == 'se_a ' :
128+ if descrpt_type == 'se_e2_a ' :
129129 self .fitting = GlobalPolarFittingSeA (** fitting_param )
130130 else :
131- raise RuntimeError ('fitting global_polar only supports descrptors: loc_frame and se_a ' )
131+ raise RuntimeError ('fitting global_polar only supports descrptors: loc_frame and se_e2_a ' )
132132 else :
133133 raise RuntimeError ('unknow fitting type ' + fitting_type )
134134
0 commit comments