DNATool2/DNAToolApp.py
def applyPrefs(self, prefs=None):
        """Apply prefs from a given dict"""
        if prefs == None: prefs=self.defaultprefs
        for key in prefs:
            self.__dict__[key] = prefs[key]
        return
Apply prefs from a given dict
Apply prefs from a given dict
Apply prefs from a given dict
def applyPrefs(self, prefs=None):
        if prefs == None: prefs=self.defaultprefs
        for key in prefs:
            self.__dict__[key] = prefs[key]
        return
def applyPrefs ( self , prefs = None ) : if prefs == None : prefs = self . defaultprefs for key in prefs : self . __dict__ [ key ] = prefs [ key ] return
Apply prefs from a given dict
Apply prefs from a given dict
"""Apply prefs from a given dict"""
self
prefs