Skip to content

Commit

Permalink
Update OlsMappingExtractor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Aug 13, 2020
1 parent 9e2dcc8 commit fd76c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oxo-loader/OlsMappingExtractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def processSolrDocs(url):
if ":" in xref or "_" in xref:
toPrefix = OXO.getPrefixFromCui(xref)
toId = OXO.getIdFromCui(xref)

if not toPrefix or not toId:
print("Can't get prefix or id for " + xref)
continue
Expand Down Expand Up @@ -282,7 +282,7 @@ def processSolrDocs(url):
print("Finished, here are all the unknown sources")
for key, value in unknownSource.items() :
# see if we can match prefix to db
print(key.encode('utf-8', 'ignore'))
print(key)

print("Generating CSV files for neo loading...")

Expand Down

0 comments on commit fd76c1c

Please sign in to comment.