Skip to content

Citations are displayed inconsistently with "Warning: No result found for article ID: xxxxxx" errors #2

@coding-rheum

Description

@coding-rheum

Hi,
I am not sure if you are able to see these. Thank you for creating this code and is exactly what I was looking for. I am a "very" beginner and pardon if there is an easy fix for this. The script works to identify most relevant 5 references from PubMed for the search query but tends to skip one or two of the entry's details and spits out "Warning: No result found for article ID: xxxxxxxx" errors even though there is a correct PubMed entry for that citation. I double checked the NCBI supplied API and did not see any changes compared to what is in your code.
Tried quick print debugging and it seems to work sometimes but very inconsistent.
Please help if you end up being able to reproduce the issue.

Example issue:
search term: systemic lupus AND epidemiology

Result:


Beginning article search

Retrieving articles 1 of 4
PubMed ID: 24034070
Fortuna G, Brennan MT. Systemic lupus erythematosus: epidemiology, pathophysiology, manifestations, and management. Dent Clin North Am 2013;57(4):631-55. doi: 10.1016/j.cden.2013.06.003

Retrieving articles 2 of 4
PubMed ID: 37133502
Zucchi D, Silvagni E, Elefante E, Signorini V, Cardelli C, Trentin F, Schilirò D, Cascarano G, Valevich A, Bortoluzzi A, Tani C. Systemic lupus erythematosus: one year in review 2023. Clin Exp Rheumatol 2023;41(5):997-1008. doi: 10.55563/clinexprheumatol/4uc7e8

Retrieving articles 3 of 4
Warning: No result found for article ID: 30527426
Retrieving articles 4 of 4
PubMed ID: 33609799
Carrión-Barberà I, Salman-Monte TC, Vílchez-Oya F, Monfort J. Neuropsychiatric involvement in systemic lupus erythematosus: A review. Autoimmun Rev 2021;20(4):102780. doi: 10.1016/j.autrev.2021.102780

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions