Skip to content
Snippets Groups Projects
Commit b7cdf63c authored by Carlos Vega's avatar Carlos Vega
Browse files

now we return publications as intended

parent 32d2705d
No related branches found
No related tags found
No related merge requests found
......@@ -53,9 +53,8 @@ class BioKBservice(TextMiningService):
values = []
for result in results['results']['bindings']:
solr_id = result['solrId']['value']
publication_uri = result['publication']['value']
values.append(
{"solr_id": solr_id, "publication_uri": publication_uri})
pub = Publication(other_id=solr_id)
values.append(pub)
return values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment