[Biopython-dev] [Bug 2680] Bio.AlignAce.Parser.py need to import string

Bartek Wilczynski bartek at rezolwenta.eu.org
Mon Nov 24 12:45:52 UTC 2008


On Fri, Nov 21, 2008 at 4:45 PM, Peter <biopython at maubp.freeserve.co.uk> wrote:

>
> On a related note - could you write a unit test for Bio.AlignAce please?
>

Hi Peter,

I do not have much experience with writing unit tests but I would like
to do it (treating it as an opportunity to learn more on unit tests).

There are two issues which are somewhat related to this:
- I have some more code related to sequence motif analysis which I'm
using myself and could contribute as an extension to BIo.AlignACE. If
people are interested in having this in biopython, it would be
sensible to think about refactoring Bio.AlignACE and Bio.MEME which
both provide a Motif class with largely overlapping functionality. I
could do that and at the same time write unit tests for the new
version. For that it would be cool to get input from all current or
potential users of this functionality. I'll think about it a little
and maybe write to biopython-users list.
- The other issue is connected with the type of the tests I should
write. Since Michiel brought this topic up recently, I'd like to know
whether I should do it in the python (doctest) or biopython way.

cheers
Bartek


-- 
Bartek Wilczynski
==================
Postdoctoral fellow
EMBL, Furlong group
Meyerhoffstrasse 1,
69012 Heidelberg,
Germany
tel: +49 6221 387 8433



More information about the Biopython-dev mailing list