[Biopython] issues with NCBIXML

Peter Cock p.j.a.cock at googlemail.com
Wed Oct 19 19:06:30 UTC 2011


On Wed, Oct 19, 2011 at 7:48 PM, Nat Echols <nathaniel.echols at gmail.com> wrote:
> On Tue, Oct 18, 2011 at 3:07 PM, Peter Cock <p.j.a.cock at googlemail.com>
> wrote:
>>
>> The number of alignments and descriptions only really apply
>> to the plain text (or HTML) BLAST output, but I guess we
>> could set them to the number of hits in the XML output.
>
> This would be useful, for consistency's sake if nothing else.  I'm happy to
> contribute a patch if that streamlines the process.
> -Nat

Sure. If you can include unit tests for it even better.
You should just be able to add some assertEqual
lines to the existing XML parser tests for the newly
populated properties.

Thanks,

Peter




More information about the Biopython mailing list