PEATDB/DNAtool/primer_database.py
def highlight_primer(self,pname):
        """Highlight and update details for the given primer after addition/editing"""
        
        self.primers.selection_clear(first=0,last=1)
        if pname!='':
            index=0
            for primer in self.primer_order:
                if primer==pname:
                    self.primers.see(index)
                    self.primers.selection_set(index)
                    return
                else:
                    index=index+1
Highlight and update details for the given primer after addition/editing
Highlight and update details for the given primer after addition/editing
Highlight and update details for the given primer after addition / editing
def highlight_primer(self,pname):
        self.primers.selection_clear(first=0,last=1)
        if pname!='':
            index=0
            for primer in self.primer_order:
                if primer==pname:
                    self.primers.see(index)
                    self.primers.selection_set(index)
                    return
                else:
                    index=index+1
def highlight_primer ( self , pname ) : self . primers . selection_clear ( first = 0 , last = 1 ) if pname != '' : index = 0 for primer in self . primer_order : if primer == pname : self . primers . see ( index ) self . primers . selection_set ( index ) return else : index = index + 1
Highlight and update details for the given primer after addition/editing
Highlight and update details for the given primer after addition / editing
"""Highlight and update details for the given primer after addition/editing"""
self
pname