def setResidueLabel(self, label=None): """ Set the residue label to e.g. 'GLU 145 A' """ if label == None: self.label = lib.makeResidueLabel(self.resName, self.resNumb, self.chainID) else: self.label = label
def makeResidueLabel(self): """ making a key = residue.label in readPDB() """ return lib.makeResidueLabel(self.resName, self.resNumb, self.chainID)