Skip to content

refactor(update_dois): drop the orphaned add_pmid function - #530

Merged
robsv merged 1 commit into
mainfrom
fix-update-dois-dead-code
Oct 7, 2026
Merged

robsv merged 1 commit into
mainfrom
fix-update-dois-dead-code

Conversation

@robsv

@robsv robsv commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

The last call to add_pmid went away in 53952c1 ("Removed PMID update", 2025-06-18), but the function itself stayed behind. Nothing has called it since, and nothing imports it.

PMID population is not lost: sync_pmid_to_dois.py does that work with its own JRC.get_pmid call. The 'add_pmid' string in that file is a processing-event action label and is unrelated to this function.

No behavior change. JRC and terminate_program, the two names the function used, are still used throughout the module.

The last call to add_pmid went away in 53952c1 ("Removed PMID update",
2025-06-18), but the function itself stayed behind. Nothing has called
it since, and nothing imports it.

PMID population is not lost: sync_pmid_to_dois.py does that work with
its own JRC.get_pmid call. The 'add_pmid' string in that file is a
processing-event action label and is unrelated to this function.

No behavior change. JRC and terminate_program, the two names the
function used, are still used throughout the module.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@robsv robsv self-assigned this Oct 7, 2026
@robsv robsv added the enhancement New feature or request label Oct 7, 2026
@robsv
robsv merged commit b41e115 into main Oct 7, 2026
2 checks passed
@robsv
robsv deleted the fix-update-dois-dead-code branch October 7, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant