-
Notifications
You must be signed in to change notification settings - Fork 13
Resolver db 2.0 changes #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. Just a couple of small questions.
adsmp/tests/test_solr_updater.py
Outdated
@@ -592,7 +592,6 @@ def test_links_data_merge(self): | |||
self.assertEqual( | |||
db_record["nonbib_data"]["links_data"], solr_record["links_data"] | |||
) | |||
self.assertEqual(solr_record["has"], []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this test causing issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. That was probably something I mistakenly deleted. Thank you for catching that.
links = self._populate_identifiers(record, resolver_record, links) | ||
|
||
# Set ABSTRACT flag if abstract is present in bib_data | ||
if 'abstract' in bib_data and bib_data['abstract']: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need to modify this slightly because I think abstract
in this case may refer to the abstract page and not whether or not the record has an abstract. but I need to confirm.
No description provided.