pypath.omnipath.databases.define.DatabaseDefinition§

class pypath.omnipath.databases.define.DatabaseDefinition(label, **kwargs)[source]§

Bases: object

__init__(label, **kwargs)[source]§

Methods

__init__(label, **kwargs)

from_dict(dct[, label])

param dict dct:

from_json(path[, label])

param str path:

get(attr)

classmethod from_dict(dct, label=None)[source]§
Parameters:

dct (dict) – Dictionary containing the parameters for the database definition.

classmethod from_json(path, label=None)[source]§
Parameters:

path (str) – Path to JSON file with database definition.