Closed trvrb closed 8 years ago
This fixes the email bug, but I'm now getting RuntimeError: Search Backend failed: Database is not supported: nuccore
. Internet tells me this may just be a transient issue with NCBI. @chacalle: has this happened to you before?
I'm going to call this resolved after 606d5f642b2b132f09554ad839a4912b39d30b83. I'm pretty sure the RuntimeError: Search Backend failed: Database is not supported: nuccore
will fix itself on NCBI's end.
In 5e6ffd52ca0fd52084c50eee8ba4940942863349, running
python vdb/update.py -db test_vdb -v zika --accessions KX101066,KX101060
results in:I figured out that this is due to neither
Entrez.email
norself.email
being set whenget_GIs
is called here: https://github.com/blab/nextstrain-db/blob/master/vdb/update.py#L17. The functionEntrez.esearch
withinget_GIs
needsEntrez.email
to be set and it's not.