Package generic_fns :: 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', directory=None)
Function for reading the data out of a file.
source code
 
write(file='results', directory=None, force=False, compress_type=1, verbosity=1)
Create the results file.
source code
Variables [hide private]
  ds = The relax data storage obje...
  __package__ = 'generic_fns'

Imports: dirname, search, split, sys, Relax_data_store, pipes, RelaxError, RelaxFileEmptyError, extract_data, get_file_path, open_read_file, open_write_file, strip, get_specific_fn


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.
...