pKaTool/pKa_system_file_menu.py
def load_system(self):
        """ loads parameters and experimental curves from a file """
        import tkFileDialog, os
        savedir=os.getcwd()
        filename=tkFileDialog.askopenfilename(defaultextension="*.pks",
                                              initialdir=savedir,
                                              filetypes=[("pKaTool system file","*.pks"),("All files","*.*")])
        if filename:
            if os.path.isfile(filename):
                file = open(filename,'r')
                pKaTool_data = pickle.load(file)
                self.unpack_all_data(pKaTool_data)
        return
 loads parameters and experimental curves from a file 
loads parameters and experimental curves from a file
loads parameters and experimental curves from a file
def load_system(self):
        import tkFileDialog, os
        savedir=os.getcwd()
        filename=tkFileDialog.askopenfilename(defaultextension="*.pks",
                                              initialdir=savedir,
                                              filetypes=[("pKaTool system file","*.pks"),("All files","*.*")])
        if filename:
            if os.path.isfile(filename):
                file = open(filename,'r')
                pKaTool_data = pickle.load(file)
                self.unpack_all_data(pKaTool_data)
        return
def load_system ( self ) : import tkFileDialog , os savedir = os . getcwd ( ) filename = tkFileDialog . askopenfilename ( defaultextension = "*.pks" , initialdir = savedir , filetypes = [ ( "pKaTool system file" , "*.pks" ) , ( "All files" , "*.*" ) ] ) if filename : if os . path . isfile ( filename ) : file = open ( filename , 'r' ) pKaTool_data = pickle . load ( file ) self . unpack_all_data ( pKaTool_data ) return
loads parameters and experimental curves from a file
loads parameters and experimental curves from a file
""" loads parameters and experimental curves from a file """
self