pKaTool/pKa_system_file_menu.py
def load_2nd_pH_activity_profile(self,filename=None,parent=None):
        """Load a 2nd pH-activity profile"""
        if getattr(self,'activity_data',None):
            self.backup=self.activity_data.copy()
        else:
            self.backup={}
        self.load_pH_activity_profile(filename,parent=parent)
        self.secondary_activity_data=self.activity_data.copy()
        #
        # copy the old one back
        #
        self.activity_data=self.backup.copy()
        self.update_pkasystem_curves()
        return
Load a 2nd pH-activity profile
Load a 2nd pH-activity profile
Load a 2nd pH - activity profile
def load_2nd_pH_activity_profile(self,filename=None,parent=None):
        if getattr(self,'activity_data',None):
            self.backup=self.activity_data.copy()
        else:
            self.backup={}
        self.load_pH_activity_profile(filename,parent=parent)
        self.secondary_activity_data=self.activity_data.copy()
         copy the old one back
        self.activity_data=self.backup.copy()
        self.update_pkasystem_curves()
        return
def load_2nd_pH_activity_profile ( self , filename = None , parent = None ) : if getattr ( self , 'activity_data' , None ) : self . backup = self . activity_data . copy ( ) else : self . backup = { } self . load_pH_activity_profile ( filename , parent = parent ) self . secondary_activity_data = self . activity_data . copy ( ) self . activity_data = self . backup . copy ( ) self . update_pkasystem_curves ( ) return
Load a 2nd pH-activity profile
Load a 2nd pH - activity profile
"""Load a 2nd pH-activity profile""" # # copy the old one back #
self
filename
parent