Skip to content

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

Merged
kermitt2 merged 6 commits into
masterfrom
512_PDF_and_authors_with_ORCID
Aug 11, 2020
Merged

Check whether annotation is orcid and add orcid to author.#562
kermitt2 merged 6 commits into
masterfrom
512_PDF_and_authors_with_ORCID

Conversation

@Aazhar

@Aazhar Aazhar commented Mar 19, 2020

Copy link
Copy Markdown
Collaborator

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

coveralls commented Mar 19, 2020

Copy link
Copy Markdown

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
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator

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