Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
MAVRICK-1 committed Feb 8, 2024
1 parent 5b0f436 commit 94e16db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iyp/crawlers/rovista/validating_rov.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ def run(self):
for entry in entries:
asn_qid = self.asn_id[entry['asn']]
if entry['ratio'] > 0.5:
links.append({'src_id': asn_qid, 'dst_id': tag_id_valid,
'props': [self.reference, {'ratio': entry['ratio']}]})
links.append({'src_id': asn_qid, 'dst_id': tag_id_valid,
'props': [self.reference, {'ratio': entry['ratio']}]})
else:
links.append({'src_id': asn_qid, 'dst_id': tag_id_not_valid,
'props': [self.reference, {'ratio': entry['ratio']}]})
links.append({'src_id': asn_qid, 'dst_id': tag_id_not_valid,
'props': [self.reference, {'ratio': entry['ratio']}]})

logging.info('Pushing links to neo4j...')
# Push all links to IYP
Expand Down

0 comments on commit 94e16db

Please sign in to comment.