Skip to content

Commit

Permalink
Merge pull request #95 from RomanoLab/fix/issue-93/remove-all-code-re…
Browse files Browse the repository at this point in the history
…ferences-to-py2neo

fix: Removed Py2neo-related code
  • Loading branch information
yunchae-kim authored Oct 10, 2023
2 parents e2a4cb9 + 0314c7d commit 58cb4be
Show file tree
Hide file tree
Showing 5 changed files with 536 additions and 528 deletions.
22 changes: 11 additions & 11 deletions comptox_ai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
import os
from pathlib import Path

#from .comptox_ai import ComptoxAI
#from . import graph
#from . import ontology
#from . import aop
# from .comptox_ai import ComptoxAI
# from . import graph
# from . import ontology
# from . import aop

#from . import cypher
# from . import cypher

### THIS BREAKS ON SOME BUILD SYSTEMS (e.g., TravisCI):
# THIS BREAKS ON SOME BUILD SYSTEMS (e.g., TravisCI):
# package_src_dir = Path(__file__).parent.parent
# version_file = open(os.path.join(package_src_dir, 'VERSION'), 'r')
# str_version = version_file.read().strip()
##__version__ = str_version
# __version__ = str_version

### INSTEAD:
# INSTEAD:
# PEP0440 compatible formatted version, see:
# https://www.python.org/dev/peps/pep-0440/
#
Expand All @@ -39,9 +39,9 @@
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
#
__version__ = '0.1.dev0'
## ^^ Will be in dev on master branch until 0.1a is ready to go
# ^^ Will be in dev on master branch until 0.1a is ready to go

from .graph import Graph
# from .graph import Graph
from .db import GraphDB

__all__ = ["Graph"]
__all__ = ["Graph"]
12 changes: 6 additions & 6 deletions comptox_ai/graph/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from .graph import Graph
from .subgraph import Subgraph
from .path import Path
from .vertex import Vertex
from .edge import Edge

from .io import Neo4jData, NetworkXData, GraphSAGEData
# from .graph import Graph
from .io import GraphSAGEData, NetworkXData
from .path import Path
from .subgraph import Subgraph
from .vertex import Vertex

__all__ = ["Graph", "Neo4jData", "NetworkXData", "GraphSAGEData"]
__all__ = ["Graph", "NetworkXData", "GraphSAGEData"]
Loading

0 comments on commit 58cb4be

Please sign in to comment.