Skip to content

Commit

Permalink
Fixed abstract first letter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-S-Allen committed Mar 14, 2024
1 parent 5d390b8 commit b283bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harvest_solr.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def transform_r_json(r_json):
abstracts = []
for doc in r_json['response']['docs']:
if 'abstract' in doc:
abstracts.append(doc['abstract'][0])
abstracts.append(doc['abstract'])
else:
abstracts.append('')

Expand Down

0 comments on commit b283bac

Please sign in to comment.