Skip to content

Commit

Permalink
move kg to tdc/utils folder
Browse files Browse the repository at this point in the history
  • Loading branch information
abearab committed Oct 30, 2023
1 parent fee45dd commit 5eee5a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tdc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .oracles import Oracle
from .benchmark_deprecated import BenchmarkGroup
from .tdc_hf import tdc_hf_interface
from .knowledge_graph import KnowledgeGraph
from tdc.utils.knowledge_graph import KnowledgeGraph
2 changes: 1 addition & 1 deletion tdc/resource/primekg.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import warnings

from ..utils import general_load
from ..knowledge_graph import KnowledgeGraph
from ..utils.knowledge_graph import KnowledgeGraph

warnings.filterwarnings("ignore")

Expand Down
2 changes: 0 additions & 2 deletions tdc/knowledge_graph.py → tdc/utils/knowledge_graph.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
"""A python module to build, handle, explore, and manipulate knowledge graphs.
This is mimicking __PrimeKG__'s pandas dataframe format
"""

import pandas as pd

from copy import copy

kg_columns = [
Expand Down

0 comments on commit 5eee5a6

Please sign in to comment.