__init__(self,
cla_handle=None,
des_handle=None,
hie_handle=None,
dir_path=None,
db_handle=None,
version=None)
(Constructor)
| source code
|
Build the SCOP hierarchy from the SCOP parsable files, or a sql
backend.
If no file handles are given, then a Scop object with a single empty
root node is returned.
If a directory and version are given (with dir_path=.., version=...)
or file handles for each file, the whole scop tree will be built in
memory.
If a MySQLdb database handle is given, the tree will be built as
needed, minimising construction times. To build the SQL database to the
methods write_xxx_sql to create the tables.
|