def __init__(self,*args,**kw): BaseResidue.__init__(self,*args,**kw) self.center =np.average(np.array([a.xyz for a in self.atom]),0) #adding the required methods init_resdist_util(self) init_neighbour_util(self)
def __init__(self,residue): BaseResidue.__init__(self,residue) self._set_ca_atom() self.fp = None #adding the required methods init_resdist_util(self) init_neighbour_util(self) #add electric finger print calculation function init_electric_fp_util(self) self.bitlength = 30