Package data :: Module gui :: Class Analyses
[hide private]
[frames] | no frames]

Class Analyses

source code


A list object for holding all the GUI info specific to a certain analysis type.

Instance Methods [hide private]
new empty list
__init__(self)
Initialise some class variables.
source code
int
add(self, type=None)
Add a new analysis type.
source code
 
from_xml(self, analyses_node)
Recreate the analyses data structure from the XML analyses node.
source code

Inherited from data_classes.RelaxListType: to_xml

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialise some class variables.

Returns: new empty list
Overrides: object.__init__

add(self, type=None)

source code 

Add a new analysis type.

Parameters:
  • type (str) - The analysis type. This can be currently one of 'noe', 'r1', 'r2', or 'model-free'.
Returns: int
The index of the data container added to the list.

from_xml(self, analyses_node)

source code 

Recreate the analyses data structure from the XML analyses node.

Parameters:
  • analyses_node (xml.dom.minicompat.Element instance) - The analyses XML node.
Overrides: data_classes.RelaxListType.from_xml