PEATDB/PEATApp.py
def importMutants(self):
        """Specialised import method for adding mutant data from a csv
        file. Requires a wt structure to create mutant AA sequences"""

        def getpdb():
            return
        def doimport():
            #self.DB.importDict(importdata=IM.data, namefield='name')
            #use mutations field to derive aa seq..
            return

        fr=Frame()
        win=Toplevel()
        Label(win, text='This dialog allows you to import a set of mutant data\n'
                        'along with some associated experimental values. You will\n'
                        'need to provide the the structure for creating an AA\n'
                        'sequence for each mutant. Mutation codes should be of\n'
                        'the form chain:residuenumber:code',bg='#ccFFFF').pack(fill=BOTH,expand=1)
        Button(win,text='Set a wt PDB',command=getpdb).pack(fill=BOTH,expand=1)
        fr=Frame(win); fr.pack(fill=X,expand=1)
        self.useref = IntVar()
        Label(fr,text='Use current reference protein').pack(side=LEFT)
        Checkbutton(fr,variable=self.useref).pack(side=LEFT)
        self.set_centered_geometry(self.main,win)
        Button(win,text='Continue',command=doimport).pack(fill=BOTH,expand=1)
        return
Specialised import method for adding mutant data from a csv
        file. Requires a wt structure to create mutant AA sequences
Specialised import method for adding mutant data from a csv
file. Requires a wt structure to create mutant AA sequences
Specialised import method for adding mutant data from a csv file . Requires a wt structure to create mutant AA sequences
def importMutants(self):
        def getpdb():
            return
        def doimport():
            return
        fr=Frame()
        win=Toplevel()
        Label(win, text='This dialog allows you to import a set of mutant data\n'
                        'along with some associated experimental values. You will\n'
                        'need to provide the the structure for creating an AA\n'
                        'sequence for each mutant. Mutation codes should be of\n'
                        'the form chain:residuenumber:code',bg='#ccFFFF').pack(fill=BOTH,expand=1)
        Button(win,text='Set a wt PDB',command=getpdb).pack(fill=BOTH,expand=1)
        fr=Frame(win); fr.pack(fill=X,expand=1)
        self.useref = IntVar()
        Label(fr,text='Use current reference protein').pack(side=LEFT)
        Checkbutton(fr,variable=self.useref).pack(side=LEFT)
        self.set_centered_geometry(self.main,win)
        Button(win,text='Continue',command=doimport).pack(fill=BOTH,expand=1)
        return
def importMutants ( self ) : def getpdb ( ) : return def doimport ( ) : return fr = Frame ( ) win = Toplevel ( ) Label ( win , text = 'This dialog allows you to import a set of mutant data\n' 'along with some associated experimental values. You will\n' 'need to provide the the structure for creating an AA\n' 'sequence for each mutant. Mutation codes should be of\n' 'the form chain:residuenumber:code' , bg = '#ccFFFF' ) . pack ( fill = BOTH , expand = 1 ) Button ( win , text = 'Set a wt PDB' , command = getpdb ) . pack ( fill = BOTH , expand = 1 ) fr = Frame ( win ) ; fr . pack ( fill = X , expand = 1 ) self . useref = IntVar ( ) Label ( fr , text = 'Use current reference protein' ) . pack ( side = LEFT ) Checkbutton ( fr , variable = self . useref ) . pack ( side = LEFT ) self . set_centered_geometry ( self . main , win ) Button ( win , text = 'Continue' , command = doimport ) . pack ( fill = BOTH , expand = 1 ) return
Specialised import method for adding mutant data from a csv
file.
Specialised import method for adding mutant data from a csv file .
"""Specialised import method for adding mutant data from a csv
        file. Requires a wt structure to create mutant AA sequences""" #self.DB.importDict(importdata=IM.data, namefield='name') #use mutations field to derive aa seq..
self