Open phiweger opened 7 years ago
problem to code elegantly:
Query term for accession IDs is simply "1 2 3 4 5 etc." which errs out if too long. This is why we do batches. But the usual query term needs no batching up.
see #85
this line in load.py
:
query_handle = Entrez.esearch(db=db, term=query, retmax=retmax)
so we just need to deal with the batch case and then feed the query into query arg.
like