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

Refactor non-byline authors and format_contributor #423

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

gnott
Copy link
Member

@gnott gnott commented Nov 2, 2023

An inefficiency in parseJATS.authors_non_byline() where it was calling format_contributor() for every contributor when it doesn't need to. This led to refactoring of how contributor details are set.

The existing tests are passing, although the XML parsing speed is only potentially increased for articles with many contributors.

@gnott gnott merged commit 86fd159 into develop Nov 2, 2023
2 checks passed
@gnott gnott deleted the format-contributor branch November 2, 2023 01:28
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.

None yet

1 participant