PEATDB/DNAtool/primer_database.py
def clear_pDB_objects(self):
        """Clear all objects that were displayed temporarily by primer_database functions
        Also clear the self.mutations variable"""

        # Delete all graphics that we constructed
        if not getattr(self.parent,'detailed_objs',None):
            self.parent.detailed_objs={}
        for obj in self.parent.detailed_objs.keys():
            self.parent.seqframe.delete(obj)
        self.parent.details_objs={}

        # Remove all the temporary restriction sites
        if getattr(self.parent,'temp_objs',None):
            for obj in self.parent.temp_objs.keys():
                self.parent.seqframe.delete(obj)
            self.parent.temp_objs={}

        if getattr(self,'primer_objs',None):
            for obj in self.primer_objs.keys():
                self.parent.seqframe.delete(obj)
            self.primer_objs={}
        #also remove rects and lines for temp sites
        self.parent.seqframe.delete('templabelrect')
        self.parent.seqframe.delete('templine')
        self.mutations=[]
        return
Clear all objects that were displayed temporarily by primer_database functions
        Also clear the self.mutations variable
Clear all objects that were displayed temporarily by primer_database functions
Also clear the self.mutations variable
Clear all objects that were displayed temporarily by primer_database functions Also clear the self . mutations variable
def clear_pDB_objects(self):
        if not getattr(self.parent,'detailed_objs',None):
            self.parent.detailed_objs={}
        for obj in self.parent.detailed_objs.keys():
            self.parent.seqframe.delete(obj)
        self.parent.details_objs={}
        if getattr(self.parent,'temp_objs',None):
            for obj in self.parent.temp_objs.keys():
                self.parent.seqframe.delete(obj)
            self.parent.temp_objs={}
        if getattr(self,'primer_objs',None):
            for obj in self.primer_objs.keys():
                self.parent.seqframe.delete(obj)
            self.primer_objs={}
        self.parent.seqframe.delete('templabelrect')
        self.parent.seqframe.delete('templine')
        self.mutations=[]
        return
def clear_pDB_objects ( self ) : if not getattr ( self . parent , 'detailed_objs' , None ) : self . parent . detailed_objs = { } for obj in self . parent . detailed_objs . keys ( ) : self . parent . seqframe . delete ( obj ) self . parent . details_objs = { } if getattr ( self . parent , 'temp_objs' , None ) : for obj in self . parent . temp_objs . keys ( ) : self . parent . seqframe . delete ( obj ) self . parent . temp_objs = { } if getattr ( self , 'primer_objs' , None ) : for obj in self . primer_objs . keys ( ) : self . parent . seqframe . delete ( obj ) self . primer_objs = { } self . parent . seqframe . delete ( 'templabelrect' ) self . parent . seqframe . delete ( 'templine' ) self . mutations = [ ] return
Clear all objects that were displayed temporarily by primer_database functions
Also clear the self.mutations variable
Clear all objects that were displayed temporarily by primer_database functions Also clear the self . mutations variable
"""Clear all objects that were displayed temporarily by primer_database functions
        Also clear the self.mutations variable""" # Delete all graphics that we constructed # Remove all the temporary restriction sites #also remove rects and lines for temp sites
self