[Biopython-dev] Rethinking Seq objects

Michael Hoffman hoffman at ebi.ac.uk
Wed May 11 07:42:04 EDT 2005

On Wed, 11 May 2005, Frédéric Sohm wrote:

>     - change str(seq) to return the actual sequence as do seq.tostring() right
>       now.


>     - make seq.tostring()  return str(seq) for backward compatibity. (Would be
>       eventually removed).


>     - add a new function Seq.short() for example which would behave like the
>       actual str(Seq).

Actually, if this is just for programmer/debugging use, it would be
much better for this behavior to be in repr.
Michael Hoffman <hoffman at ebi.ac.uk>
European Bioinformatics Institute

More information about the Biopython-dev mailing list