(self)
Update sequence data in DB according to Sequence Properties widget.
Update sequence data in DB according to Sequence Properties widget.
Update sequence data in DB according to Sequence Properties widget .
def update_sequence(self):
        """
        Update sequence data in DB according to Sequence Properties widget.

        """

        print '>> Updating sequence...'

        # Get sequence
        sequence = self.selected_sequence

        # Modify sequence data
        sequence.description = self.sequence_properties_ui.sequence_ui.txtDescription.toPlainText()

        # Save sequence data
        self.eve_data.update_sequence(sequence)

        print '>> Sequence "{}" updated!'.format(sequence.name)
def update_sequence ( self ) : print '>> Updating sequence...' # Get sequence sequence = self . selected_sequence # Modify sequence data sequence . description = self . sequence_properties_ui . sequence_ui . txtDescription . toPlainText ( ) # Save sequence data self . eve_data . update_sequence ( sequence ) print '>> Sequence "{}" updated!' . format ( sequence . name )