Skip to content
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

Avoid replacing DOIs with shorter ones #1127

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lfoppiano
Copy link
Collaborator

When we search for a DOI in the page, the regex may truncate DOIs that are split by a breakline, so this PR proposes a simple fix that is to substitute the DOI only when the one found in the page is larger than the one extracted by the header parser

@lfoppiano lfoppiano added the bug From Hemiptera and especially its suborder Heteroptera label Jun 10, 2024
@coveralls
Copy link

Coverage Status

coverage: 40.786% (-0.001%) from 40.787%
when pulling 7f1d15d on bugfix/fix-doi-search
into 694f0ed on master.

@lfoppiano lfoppiano added this to the 0.8.2 milestone Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug From Hemiptera and especially its suborder Heteroptera
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants