| Home | Trees | Index | Help |
|
|---|
| Package corebio :: Package resource :: Module scop :: Class Node |
|
object --+
|
Node
DomainA node in the Scop hierarchy sunid -- SCOP unique identifiers. e.g. '14986' parent -- The parent node children -- A list of child nodes sccs -- SCOP concise classification string. e.g. 'a.1.1.2' type -- A 2 letter node type code. e.g. 'px' for domains description --
| Method Summary | |
|---|---|
A new, uninitilized SCOP node. | |
__str__(self)
| |
Return the ancestor node of the given type, or None. | |
Return a list of all decendent nodes of the given type. | |
Return a Des.Record... | |
Return an Hie.Record... | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
| Method Details |
|---|
__init__(self)
|
ascendent(self, node_type)Return the ancestor node of the given type, or None. Node type can be a two letter code or longer description. e.g. 'fa' or 'family' |
descendents(self, node_type)Return a list of all decendent nodes of the given type. Node type can be a two letter code or longer description. e.g. 'fa' or 'family' |
to_des_record(self)Return a Des.Record |
to_hie_record(self)Return an Hie.Record |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on | http://epydoc.sf.net |