[BioPython] Entrez.efetch

Stephan stephan80 at mac.com
Wed Oct 8 14:00:31 UTC 2008


>Stephan - when you say manually, do you mean via a web browser?  If so 
>it is likely to be using a subtly different URL, which might explain 
>the NCBI generating slightly different data on the fly.  Either way, 
>this ACCESSION line difference shouldn't trigger the "Premature end of 
>file in sequence data" error in the GenBank parser. 

Thanks, that must be it! 
Now I guess everything is solved, closing the handle makes my code run properly and the download-from-NCBI-webpage-issue explains the difference in line 3. 

>Adding this to the UndoHandle seems a sensible improvement - but I 
>don't see how it can affect Stephan's script. 

There I agree, thanks anyway, Brad. 

Regards, 
Stephan



More information about the Biopython mailing list