Commit fa337f2f authored by Yaroslav Zdravomyslov's avatar Yaroslav Zdravomyslov
Browse files

wip

parent 0d248aac
Pipeline #1646 passed with stage
in 25 seconds
......@@ -45,8 +45,3 @@ class DEFAULT(ConfigBase):
]
NEO4J: dict = {}
# docker run -e CONFIGS_NEO4J="{}" registry-gl.connect.dzd-ev.de:443/dzdtools/mp-hp-distance:latest
# "bolt://neo4j01.connect.dzd-ev.de:9787", auth=("neo4j", "skjhbgf942wuef")
......@@ -10,9 +10,6 @@ config: DEFAULT = getConfig()
def get_mp_terms():
neo4j_graph = Graph(**config.NEO4J)
# neo4j_graph = Graph(
# "bolt://neo4j01.connect.dzd-ev.de:9787", auth=("neo4j", "skjhbgf942wuef")
# )
query = (
"match (n:"
......@@ -35,9 +32,6 @@ def get_mp_terms():
def get_hp_terms():
neo4j_graph = Graph(**config.NEO4J)
# neo4j_graph = Graph(
# "bolt://neo4j01.connect.dzd-ev.de:9787", auth=("neo4j", "skjhbgf942wuef")
# )
query = (
"match (n:"
......@@ -96,9 +90,6 @@ def create_maybe_same_relationship(tuple_list):
)
neo4j_graph = Graph(**config.NEO4J)
# neo4j_graph = Graph(
# "bolt://neo4j01.connect.dzd-ev.de:9787", auth=("neo4j", "skjhbgf942wuef")
# )
maybe_relation.create_index(neo4j_graph)
maybe_relation.merge(neo4j_graph)
......@@ -127,9 +118,6 @@ def create_upheno_relationship():
)
neo4j_graph = Graph(**config.NEO4J)
# neo4j_graph = Graph(
# "bolt://neo4j01.connect.dzd-ev.de:9787", auth=("neo4j", "skjhbgf942wuef")
# )
upheno_relation.create_index(neo4j_graph)
upheno_relation.merge(neo4j_graph)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment