[Biopython-dev] Relaxing SeqIO, AlignIO, etc write functions?

Peter biopython at maubp.freeserve.co.uk
Mon Mar 29 21:41:14 UTC 2010


On Fri, Mar 19, 2010 at 11:08 PM, Sebastian Bassi  wrote:
> On Fri, Mar 19, 2010 at 7:45 AM, Peter <biopython at maubp.freeserve.co.uk> wrote:
>> Give an inch and they'll take a mile ;)
>
> In Spanish we say: Give a hand and they'll take the whole arm :)

I think I like that version more :)

>> that if they don't specify the format that Biopython will
>> determine it automatically - which it won't.
>
> In this respect, Python zen favours being explicit,so I see your point.
>
>> Also, could you clarify if you are in favour of relaxing the
>> requirement that the write function takes a list/iterator of
>> records/alignments to allow a single SeqRecord or alignment?
>
> Is OK for me to allow a single record instead of a iterable, this
> change will not break any existing code so it is OK for me.

That sounds like you don't object, but are not strongly in
favour either.

No-one else has commented (other than Eric and Marshall
who were in favour).

Maybe it would be prudent to leave it? [Will this suggestion
provoke any further comments I wonder?]

Peter



More information about the Biopython-dev mailing list