Ejemplo n.º 1
0
 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()
Ejemplo n.º 2
0
 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()
Ejemplo n.º 3
0
 def __init__(self, graph=None):
     """ Constructor. """
     self.graph = graph
     if self.graph is None:
         self.graph = {}
     self.log = get_logger()