Bio.Nexus.StandardData module¶
Objects to represent NEXUS standard data type matrix coding.
- exception Bio.Nexus.StandardData.NexusError¶
Bases:
Exception
Provision for the management of Nexus exceptions.
- class Bio.Nexus.StandardData.StandardData(data)¶
Bases:
object
Create a StandardData iterable object.
Each coding specifies t [type] => (std [standard], multi [multistate] or uncer [uncertain]) and d [data]
- __init__(self, data)¶
Initialize the class.
- __len__(self)¶
Return the length of the coding, use len(my_coding).
- __getitem__(self, arg)¶
Pull out child by index.
- __iter__(self)¶
Iterate over the items.
- __next__(self)¶
Return next item.
- raw(self)¶
Return the full coding as a python list.
- __str__(self)¶
Return the full coding as a python string, use str(my_coding).