Skip to content

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

femalves
Copy link

No description provided.

@femalves femalves requested a review from tjacovich April 17, 2025 15:15
@femalves femalves marked this pull request as ready for review April 17, 2025 18:18
@femalves femalves changed the title dredirecting call to update_new in resolver Resolver db 2.0 changes Apr 17, 2025
Copy link
Contributor

@tjacovich tjacovich left a 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.

@@ -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"], [])
Copy link
Contributor

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?

Copy link
Author

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']:
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants