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

Throw error if identifier sending function is given empty identifiers #108

Closed
dwinter opened this issue May 26, 2017 · 0 comments
Closed

Comments

@dwinter
Copy link
Member

dwinter commented May 26, 2017

As shown in #107, when using functions like entrez_link, entrez_fetch and entrez_summary with programmatically derived ID vectors it is possible to accidentally send empty ids.

There is no good reason to do this, and it can produce hard-to-debug errors. We should instead catch these before they are sent to the NCBI and provide a useful error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant