Skip to content

Commit

Permalink
Merge pull request #280 from seasidesparrow/master
Browse files Browse the repository at this point in the history
update solr_adapter to add GEO/earth science collection
  • Loading branch information
seasidesparrow authored Oct 18, 2023
2 parents a543bf5 + ad28fb6 commit 9aac74d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aip/classic/solr_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ def _database(ADS_record):
'PHY': u'physics',
'AST': u'astronomy',
'GEN': u'general',
'GEO': u'earth science',
}
result = [translation[i['content'].upper()] for i in ADS_record['metadata']['properties'].get('databases', [])]
result = list(set(result))
Expand Down

0 comments on commit 9aac74d

Please sign in to comment.