Package pipe_control :: Module results
[hide private]
[frames] | no frames]

Module results

source code

Module for reading/writing/displaying the results in a data pipe.

Functions [hide private]
str or None
determine_format(file)
Determine the format of the results file.
source code
 
display()
Displaying the results/contents of the current data pipe.
source code
 
read(file='results', dir=None)
Function for reading the data out of a file.
source code
 
write(file='results', dir=None, force=False, compress_type=1, verbosity=1)
Create the results file.
source code
Variables [hide private]
  ds = The relax data storage obje...
  __package__ = 'pipe_control'

Imports: dirname, search, sys, Relax_data_store, RelaxError, RelaxFileEmptyError, extract_data, get_file_path, open_read_file, open_write_file, strip, pipes, check_pipe, read_columnar_results


Function Details [hide private]

determine_format(file)

source code 

Determine the format of the results file.

Parameters:
  • file (file object) - The file object representing the results file.
Returns: str or None
The results file format. This can be 'xml' or 'columnar'.

Variables Details [hide private]

ds

Value:
The relax data storage object.

Data pipes:
  None

Data store objects:
  __dict__ <type 'dict'>: dict() -> new empty dictionary
  __doc__ <type 'str'>: The relax data storage object.
...