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

Standardized author name formatting and eliminated code duplication in Zenodo metadata processing. #616

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 1, 2025

This message was generated by git-bob (version: 0.17.0, model: github_models:gpt-4o, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

This pull request addresses issue #615 by standardizing the format of author names from "Lastname, Firstname" to "Firstname Lastname" in the Zenodo metadata processing. A new helper function reformat_author has been added to scripts/auto-add-zenodo-entry.py and integrated into the complete_zenodo_data function. Similarly, scripts/generate_link_lists.py now uses a new function format_author_name for this purpose. Additionally, the complete_zenodo_data function has been removed from scripts/generate_link_lists.py to eliminate duplication, and the version from scripts/auto-add-zenodo-entry.py is now directly used. These changes simplify code maintenance and improve the consistency of name formatting across the repository.

closes #615

…me, Firstname" to "Firstname Lastname" format and integrated it into `complete_zenodo_data`.
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.

Auto-Add-Zenodo adds "Lastname, Firstname"
0 participants