PEATDB/DNAtool/DNAtool.py
def save_preferences(self):
        """Saves the sequence display settings to prefs file"""

        print 'Saving DNAtool preferences'
        self.preferences.set('seqfont',self.seqfont.get())
        self.preferences.set('seqfontsize',self.seqfontsize.get())
        self.preferences.set('fontstyle',self.fontstyle.get())
        self.preferences.set('base_scale',self.base_scale.get())
        self.preferences.set('restr_font',self.restr_font.get())
        self.preferences.set('backgrcolor',self.backgrcolor.get())
        #print self.preferences.get('restr_font')
        return
Saves the sequence display settings to prefs file
Saves the sequence display settings to prefs file
Saves the sequence display settings to prefs file
def save_preferences(self):
        print 'Saving DNAtool preferences'
        self.preferences.set('seqfont',self.seqfont.get())
        self.preferences.set('seqfontsize',self.seqfontsize.get())
        self.preferences.set('fontstyle',self.fontstyle.get())
        self.preferences.set('base_scale',self.base_scale.get())
        self.preferences.set('restr_font',self.restr_font.get())
        self.preferences.set('backgrcolor',self.backgrcolor.get())
        return
def save_preferences ( self ) : print 'Saving DNAtool preferences' self . preferences . set ( 'seqfont' , self . seqfont . get ( ) ) self . preferences . set ( 'seqfontsize' , self . seqfontsize . get ( ) ) self . preferences . set ( 'fontstyle' , self . fontstyle . get ( ) ) self . preferences . set ( 'base_scale' , self . base_scale . get ( ) ) self . preferences . set ( 'restr_font' , self . restr_font . get ( ) ) self . preferences . set ( 'backgrcolor' , self . backgrcolor . get ( ) ) return
Saves the sequence display settings to prefs file
Saves the sequence display settings to prefs file
"""Saves the sequence display settings to prefs file""" #print self.preferences.get('restr_font')
self