dkoslicki/NCATS

Duplicate PC2 protein-protein interaction edges in the KG when exported to CSV

Closed this issue · 3 comments

Issue noted by @chyods

How about the two occurrences of
rel,81ad900e-d285-11e7-939e-0277022df40c,ca1092ba-d280-11e7-939e-0277022df40c,PC2:interacts_with
in rels.csv?
Are there two "PC2:interacts_with" edges from 81ad900e-d285-11e7-939e-0277022df40c to ca1092ba-d280-11e7-939e-0277022df40c?

Thank you very much,
Yodsawalai

code fixed in Orangeboard;
waiting to rebuild KG until after the Nov. 19 demo.

testing this now

Fixed:

rt@ip-172-31-47-6:/mnt/data/orangeboard/code/NCATS/code/reasoningtool$ wc -l rels.csv
2623190 rels.csv
rt@ip-172-31-47-6:/mnt/data/orangeboard/code/NCATS/code/reasoningtool$ sort rels.csv | uniq | wc -l
2623190