Skip to content

Commit

Permalink
#281 #287 wrong source label for edges
Browse files Browse the repository at this point in the history
  • Loading branch information
ecwood committed Jul 18, 2023
1 parent 15b17c5 commit 293d08c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions report_stats_on_json_kg.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ def get_deprecated_nodes(nodes: list):

def get_excluded_edges(edges: list):
excluded_edges = dict()
provided_by_label = 'provided_by'
provided_by_label = 'primary_knowledge_source'
excluded_label = 'domain_range_exclusion'

for edge in edges:
source = edge[provided_by_label][0]
source = edge[provided_by_label]
excluded = edge[excluded_label]

if excluded:
Expand Down

0 comments on commit 293d08c

Please sign in to comment.