Skip to content

Commit

Permalink
Fix bug that messes up part of summary creation in GraphInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
Griffin Roupe committed Dec 9, 2021
1 parent 28bd152 commit 4b6bc04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PLATER/services/util/graph_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def get_schema(self, force_update=False):
labels = labels if isinstance(labels, list) else[labels]
count = node['count']
query = f"""
MATCH (:{':'.join(labels)})-[e]->(b) WITH DISTINCT e , b
MATCH (n)-[e]->(b) WITH DISTINCT e , b
WHERE labels(n) in {labels}
RETURN
type(e) as edge_types,
count(e) as edge_counts,
Expand Down

0 comments on commit 4b6bc04

Please sign in to comment.