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

Check whether annotation is orcid and add orcid to author. #562

Merged
merged 6 commits into from Aug 11, 2020

Conversation

Aazhar
Copy link
Collaborator

@Aazhar Aazhar commented Mar 19, 2020

Should fix #512
Checks whether an orcid annotation is intersecting with author names , when the annotation is pointing to an ORCID pattern then recover the author name and add ORCID ID

@Aazhar Aazhar requested a review from kermitt2 March 19, 2020 18:37
@coveralls
Copy link

coveralls commented Mar 19, 2020

Coverage Status

Coverage decreased (-0.03%) to 36.864% when pulling 753b072 on 512_PDF_and_authors_with_ORCID into 6c2a7c8 on master.

@kermitt2
Copy link
Owner

Sorry for the slow review! It works very well when orcid annotations are present, both for correcting names and extracting the orcid and no effect on the normal cases according ot my tests. Thanks a lot Achraf !

@kermitt2 kermitt2 merged commit 678c816 into master Aug 11, 2020
@kermitt2
Copy link
Owner

ok for some unknown reason, it does not work after merging :/

kermitt2 added a commit that referenced this pull request Aug 11, 2020
@kermitt2
Copy link
Owner

OK I found the problem, it works again as expected when merged.
I also fixed the case where pdfAnnotation.getDestination() was null/empty - the pdf processing was failing in this case.

@Aazhar Aazhar deleted the 512_PDF_and_authors_with_ORCID branch August 12, 2020 08:16
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.

Extraneous string "ID" added to surname with PDF and authors with ORCID links
3 participants