[Biopython] NCBIXML: 'generator' objecthas no attribute 'alignments'

Peter Cock p.j.a.cock at googlemail.com
Mon Apr 22 08:08:50 UTC 2013


On Monday, April 22, 2013, Mic wrote:

> My mistake. This is the solution
> from Bio.Blast import NCBIXML


Hi Mic,

Yep, you had two variables with very similar names.
An easy mistake to make - its one of the things
you'll learn to check with an AttrributeError: Am
I using the object I think I'm using. Well done
for solving it yourself, and thank you for posting
the solution here.

Regards,

Peter



More information about the Biopython mailing list