PEATDB/DNAtool/DNAtool.py
def handle_left_release(self,event):
        """handle left mouse release on canvas"""
        c = self.seqframe
        if 'textlabel' in c.gettags(CURRENT):
            self.remove_recog_label(event)
        elif 'comparison_seq' in c.gettags(CURRENT):
            self.remove_seq_label(event)
        elif 'DNA_selection' in self.data.keys():
            if self.data['DNA_selection']['start'] != self.data['DNA_selection']['stop']:
                self.end_selection(event)
        return
handle left mouse release on canvas
handle left mouse release on canvas
handle left mouse release on canvas
def handle_left_release(self,event):
        c = self.seqframe
        if 'textlabel' in c.gettags(CURRENT):
            self.remove_recog_label(event)
        elif 'comparison_seq' in c.gettags(CURRENT):
            self.remove_seq_label(event)
        elif 'DNA_selection' in self.data.keys():
            if self.data['DNA_selection']['start'] != self.data['DNA_selection']['stop']:
                self.end_selection(event)
        return
def handle_left_release ( self , event ) : c = self . seqframe if 'textlabel' in c . gettags ( CURRENT ) : self . remove_recog_label ( event ) elif 'comparison_seq' in c . gettags ( CURRENT ) : self . remove_seq_label ( event ) elif 'DNA_selection' in self . data . keys ( ) : if self . data [ 'DNA_selection' ] [ 'start' ] != self . data [ 'DNA_selection' ] [ 'stop' ] : self . end_selection ( event ) return
handle left mouse release on canvas
handle left mouse release on canvas
"""handle left mouse release on canvas"""
self
event