Follow-up from the review of #48.
PMIDSource.fetch no longer fetches PMC full text — that logic now lives in PMCFullTextProvider (etl/fulltext/pmc.py). The following methods in src/linkml_reference_validator/etl/sources/pmid.py are now dead (no live caller; _fetch_pmc_fulltext is only defined, never invoked):
_fetch_pmc_fulltext (~L257)
_get_pmcid (~L283)
_fetch_pmc_xml (~L323)
_fetch_pmc_html (~L359)
Scope
- Delete the four methods (lines ~257–390).
- Remove
tests/test_sources.py::test_get_pmcid_handles_entrez_error (it covers the dead _get_pmcid).
- Add an equivalent error-path test for
PMCFullTextProvider._resolve_pmcid (Entrez elink failure → None) so PMC-ID resolution error handling stays covered.
- Drop the stale references in
src/linkml_reference_validator/plugins/REVIEW.md.
Deferred out of #48 to keep that PR focused (it was already flagged as a follow-up in the PR description, and noted again in the #48 review).
Follow-up from the review of #48.
PMIDSource.fetchno longer fetches PMC full text — that logic now lives inPMCFullTextProvider(etl/fulltext/pmc.py). The following methods insrc/linkml_reference_validator/etl/sources/pmid.pyare now dead (no live caller;_fetch_pmc_fulltextis only defined, never invoked):_fetch_pmc_fulltext(~L257)_get_pmcid(~L283)_fetch_pmc_xml(~L323)_fetch_pmc_html(~L359)Scope
tests/test_sources.py::test_get_pmcid_handles_entrez_error(it covers the dead_get_pmcid).PMCFullTextProvider._resolve_pmcid(Entrez elink failure →None) so PMC-ID resolution error handling stays covered.src/linkml_reference_validator/plugins/REVIEW.md.Deferred out of #48 to keep that PR focused (it was already flagged as a follow-up in the PR description, and noted again in the #48 review).