[Biopython] Creating GenBank files

Peter biopython at maubp.freeserve.co.uk
Wed Sep 16 16:44:15 UTC 2009


On Wed, Sep 16, 2009 at 5:31 PM, Peter <biopython at maubp.freeserve.co.uk> wrote:
> On Wed, Sep 16, 2009 at 5:14 PM, Peter Saffrey <pzs at dcs.gla.ac.uk> wrote:
>>
>> - My first stab at the qualifiers argument was to do
>>
>> qualifiers = { "label" : "mylabel" }
>>
>> but if I do that, it iterates over "mylabel" giving me one "label" for each
>> character! Maybe the qualifier printer should check it's being given a list
>> and not a string?
>
> As you have realised, based on what the GenBank (and other) parsers
> do, the GenBank output code was expecting the qualifier values to be
> a list (of strings). There are similar issues in the BioSQL code, and yes,
> I agree we should cope with either here too.

Fixed in CVS.

Peter



More information about the Biopython mailing list