-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
AuthorList parse adds extra space if author middlename is abbrevatied without dot #4864
Labels
[outdated] type: bug
Confirmed bugs or reports that are very likely to be bugs
Comments
Not the last author is affected, but the problem seems to be caused by the quite special format of this particular name The single character without dot as the first firstname causes problems... |
@matthiasgeiger is right. I wrote a quick test to check:
Results in |
tobiasdiez
added a commit
that referenced
this issue
Apr 29, 2019
Fixes #4864. The author class added an additional space when converting "A O" to the dotted version "A. O.".
Siedlerchr
pushed a commit
that referenced
this issue
Apr 30, 2019
Fixes #4864. The author class added an additional space when converting "A O" to the dotted version "A. O.".
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Importing the PubMed entry with the Id gives me a bunch of names.
However in e26d9ab I added a normalize names formatter to add dots to the abbrevated names.
However, the Authorlist.parse method adds an extra space between the first and last name of the last author.
N.[space][space]Henriette
Input entry to the formatter:
Workaround is to call the NormalizeNames formatter again, then the space is removed
Entry preview in import is correct, so the error is the parser:

The text was updated successfully, but these errors were encountered: