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

generate-references fails to log error with incorrect PubMed ID #50

Open
larsgw opened this issue Nov 8, 2023 · 1 comment
Open

generate-references fails to log error with incorrect PubMed ID #50

larsgw opened this issue Nov 8, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@larsgw
Copy link
Contributor

larsgw commented Nov 8, 2023

WP4220 has the "PubMed ID" 9783642403361. This should produce an error.

@larsgw larsgw added the bug Something isn't working label Nov 8, 2023
@larsgw
Copy link
Contributor Author

larsgw commented Nov 8, 2023

The PubMed API returns an empty array for such IDs (i.e. numbers only), presumably because they could be valid in the future. I'd rather have a 404 for now though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant