-
Notifications
You must be signed in to change notification settings - Fork 20
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
geo is not searchable #20
Comments
As I see it we have some options:
{
"header": {
"type": "esearch",
"version": "0.3"
},
"esearchresult": {
"ERROR": "Invalid db name specified: dst"
}
}
In my opinion the last option is the most suitable. @bmpvieira If you agree I'll create a pull request to solve it. Do you have any other idea? |
I think we should go with the first option, check if db is valid and if not present list of valid ones (hardcoded in an internal config file in JSON or YAML format). Here's one retrieved from the select box on NCBI website (not sure if all work with eutils/biondo-ncbi):
|
I'll put some time today into this. |
I've kind of solved this at the CLI level by switching to yargs (#32) but I think it would be nice to also have these kind of checks internally in the library. Maybe we could somehow reuse yargs |
Fixed by #33. Thanks! |
add mapping to gst
The text was updated successfully, but these errors were encountered: