PEATDB/PEATApp.py
def updateAASequences(self):
        """Update the AA sequences for mutants, usually applied to
        those mutants that don't have a DNA sequence, so at any time we
        can change their AA seq if the ref prot is altered
        requires: reference protein to be set"""
        if not hasattr(self.DB.meta, 'refprotein') or self.DB.meta.refprotein == None:
            tkMessageBox.showinfo('No ref protein',
                                  'Set a reference (wt) protein first')
            return
        sel = self.table.get_selectedRecordNames()
        DBActions.setSequencesfromMutationCodes(self.DB, selected=sel)
        return
Update the AA sequences for mutants, usually applied to
        those mutants that don't have a DNA sequence, so at any time we
        can change their AA seq if the ref prot is altered
        requires: reference protein to be set
Update the AA sequences for mutants, usually applied to
those mutants that don't have a DNA sequence, so at any time we
can change their AA seq if the ref prot is altered
requires: reference protein to be set
Update the AA sequences for mutants usually applied to those mutants that don ' t have a DNA sequence so at any time we can change their AA seq if the ref prot is altered requires : reference protein to be set
def updateAASequences(self):
        if not hasattr(self.DB.meta, 'refprotein') or self.DB.meta.refprotein == None:
            tkMessageBox.showinfo('No ref protein',
                                  'Set a reference (wt) protein first')
            return
        sel = self.table.get_selectedRecordNames()
        DBActions.setSequencesfromMutationCodes(self.DB, selected=sel)
        return
def updateAASequences ( self ) : if not hasattr ( self . DB . meta , 'refprotein' ) or self . DB . meta . refprotein == None : tkMessageBox . showinfo ( 'No ref protein' , 'Set a reference (wt) protein first' ) return sel = self . table . get_selectedRecordNames ( ) DBActions . setSequencesfromMutationCodes ( self . DB , selected = sel ) return
Update the AA sequences for mutants, usually applied to
those mutants that don't have a DNA sequence, so at any time we
can change their AA seq if the ref prot is altered
requires: reference protein to be set
Update the AA sequences for mutants usually applied to those mutants that don ' t have a DNA sequence so at any time we can change their AA seq if the ref prot is altered requires : reference protein to be set
"""Update the AA sequences for mutants, usually applied to
        those mutants that don't have a DNA sequence, so at any time we
        can change their AA seq if the ref prot is altered
        requires: reference protein to be set"""
self