Package Bio :: Package Nexus :: Module StandardData :: Class StandardData
[hide private]
[frames] | no frames]

Class StandardData

source code

object --+
         |
        StandardData

Create a StandardData iterable object.

Each coding specifies t [type] => (std [standard], multi [multistate] or uncer [uncertain]) and d [data]

Instance Methods [hide private]
 
__init__(self, data)
Initialize the class.
source code
 
__len__(self)
Return the length of the coding, use len(my_coding).
source code
 
__getitem__(self, arg) source code
 
__iter__(self) source code
 
__next__(self) source code
 
next(self)
Return next item, deprecated Python 2 style alias for Python 3 style __next__ method.
source code
 
raw(self)
Return the full coding as a python list.
source code
 
__str__(self)
Return the full coding as a python string, use str(my_coding).
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, data)
(Constructor)

source code 
Initialize the class.
Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 
Return the full coding as a python string, use str(my_coding).
Overrides: object.__str__