[BioPython] Error XML Parser and another doubt
Peter
biopython at maubp.freeserve.co.uk
Tue Jan 27 11:59:24 EST 2009
On Tue, Jan 27, 2009 at 4:31 PM, Rodrigo faccioli
<rodrigo_faccioli at uol.com.br> wrote:
> I have a error about read a XML file which is result from NCBIWWW.qblast.
> For this work, I used biopython 1.45 and python 2.5.
> ...
> Traceback (most recent call last):
> ...
> File "/usr/lib/python2.5/site-packages/Bio/Blast/NCBIXML.py", line 214, in
> _end_BlastOutput_version
> self._header.date = self._value.split()[2][1:-1]
> IndexError: list index out of range
>
> I'm very new in Python and BioPython. Sincerely, this is my first program
> without tutorial.
I'm sorry you've had trouble. This looks like an old bug in parsing
the date in the XML file, caused when the NCBI changed their online
server. See Biopython Bug 2499 for details:
http://bugzilla.open-bio.org/show_bug.cgi?id=2499
We fixed this in Biopython 1.46, but you are using Biopython 1.45.
Can you update your machine? The current release is Biopython 1.49.
Peter
More information about the BioPython
mailing list