PEATDB/DNAtool/primer_database.py
def show_pDB_contents(self):
        """ Show the database, sort by name"""
        
        self.primers.delete(0, END)
        if self.parent.data.has_key('primer_dict'):
            self.primer_names=self.parent.data['primer_dict'].keys()
        else:
            self.primer_names=[]
        self.primer_names.sort(cmp=self.primer_sort)
        self.primer_order=[]
        for primer in self.primer_names:
            self.primers.insert(END,primer)
            self.primer_order.append(primer)
        return
 Show the database, sort by name
Show the database, sort by name
Show the database sort by name
def show_pDB_contents(self):
        self.primers.delete(0, END)
        if self.parent.data.has_key('primer_dict'):
            self.primer_names=self.parent.data['primer_dict'].keys()
        else:
            self.primer_names=[]
        self.primer_names.sort(cmp=self.primer_sort)
        self.primer_order=[]
        for primer in self.primer_names:
            self.primers.insert(END,primer)
            self.primer_order.append(primer)
        return
def show_pDB_contents ( self ) : self . primers . delete ( 0 , END ) if self . parent . data . has_key ( 'primer_dict' ) : self . primer_names = self . parent . data [ 'primer_dict' ] . keys ( ) else : self . primer_names = [ ] self . primer_names . sort ( cmp = self . primer_sort ) self . primer_order = [ ] for primer in self . primer_names : self . primers . insert ( END , primer ) self . primer_order . append ( primer ) return
Show the database, sort by name
Show the database sort by name
""" Show the database, sort by name"""
self