Module file_ops :: Class file_ops
[hide private]
[frames] | no frames]

Class file_ops

source code

Instance Methods [hide private]
 
__init__(self, mf)
Class containing the file operations
source code
 
init_log_file(self, title='Log file')
Initialise the log file.
source code
 
open_file(self, file_name)
Open the file 'file' and return all the data.
source code
 
mkdir(self, dir)
Create the given directory, or exit if the directory exists.
source code
 
read_file(self, file_name, message='')
Attempt to read the file, or quit the program if it does not exist.
source code
 
relax_data(self, file)
Open the relaxation data in the file 'file' and return all the data.
source code
Method Details [hide private]

relax_data(self, file)

source code 
Open the relaxation data in the file 'file' and return all the data.

It is assumed that the file has four columns separated by whitespace.  The columns should be:
        0 - Residue numbers
        1 - Residue names
        2 - R1, R2, or NOE values
        3 - The errors