def __init__(self, data=None): """ Constructor. :arg data, the graph of ontologies """ self.goterms = data if self.goterms is None: self.goterms = {} self.log = get_logger()
def __init__(self, graph=None): """ Constructor. """ self.graph = graph if self.graph is None: self.graph = {} self.log = get_logger()