pypath.omnipath.databases.define.DatabaseDefinitionManager§
- class pypath.omnipath.databases.define.DatabaseDefinitionManager(classes=None, databases=None)[source]§
Bases:
Logger
- __init__(classes=None, databases=None)[source]§
Make this instance a logger.
- Parameters:
name – The label of this instance that will be prepended to all messages it sends to the logger.
module – Send the messages by the logger of this module.
Methods
__init__
([classes, databases])Make this instance a logger.
build
(label)For a database definition label returns an instance of the database: creates an instance of the class or calls the method with the arguments in the database definition.
class_and_param
(label)For a database definition label returns the class or method and its arguments which are necessary to build the database according to the definition.
get_class
(label)get_db_class
(label)get_db_definition
(label)load
()