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