PEATDB/DNAtool/DNAtool.py
def load_preferences(self):
        """Loads the sequence display settings from prefs file, if present"""

        print 'Loading current DNAtool preferences'
        self.preferences = Preferences('DNAtool',{'canvas_height':600})

        for key in self.defaultprefs:
            if key in self.preferences.prefs:
                self.__dict__[key].set(self.preferences.get(key))
            else:
                self.preferences.set(key, self.defaultprefs[key])

        self.update_window_formatting()
        return
Loads the sequence display settings from prefs file, if present
Loads the sequence display settings from prefs file, if present
Loads the sequence display settings from prefs file if present
def load_preferences(self):
        print 'Loading current DNAtool preferences'
        self.preferences = Preferences('DNAtool',{'canvas_height':600})
        for key in self.defaultprefs:
            if key in self.preferences.prefs:
                self.__dict__[key].set(self.preferences.get(key))
            else:
                self.preferences.set(key, self.defaultprefs[key])
        self.update_window_formatting()
        return
def load_preferences ( self ) : print 'Loading current DNAtool preferences' self . preferences = Preferences ( 'DNAtool' , { 'canvas_height' : 600 } ) for key in self . defaultprefs : if key in self . preferences . prefs : self . __dict__ [ key ] . set ( self . preferences . get ( key ) ) else : self . preferences . set ( key , self . defaultprefs [ key ] ) self . update_window_formatting ( ) return
Loads the sequence display settings from prefs file, if present
Loads the sequence display settings from prefs file if present
"""Loads the sequence display settings from prefs file, if present"""
self