Skip to content

Commit

Permalink
Merge pull request #312 from kshefchek/fix-flybase-xrefs
Browse files Browse the repository at this point in the history
change equivalent/sameAs to xref when processing dbxref table
  • Loading branch information
kshefchek committed May 17, 2016
2 parents b29821e + 7844bc9 commit 85f0c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dipper/sources/FlyBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1476,10 +1476,10 @@ def _process_feature_dbxref(self, limit):
# these are only omim diseases, not genes;
# we shouldn't be adding these here anyway
gu.addClassToGraph(g, did, dlabel)
gu.addEquivalentClass(g, feature_id, did)
gu.addXref(g, feature_id, did)
else:
gu.addIndividualToGraph(g, did, dlabel)
gu.addSameIndividual(g, feature_id, did)
gu.addXref(g, feature_id, did)
line_counter += 1

if not self.testMode \
Expand Down

0 comments on commit 85f0c95

Please sign in to comment.