[Biopython-dev] test for affy.CelFile
Vincent Davis
vincent at vincentdavis.net
Sun May 18 22:52:47 EDT 2014
I created a doc test (I have never done Doc tests before) and added a
sample version3 CEL file in Tests/Affy/. The file is from a project I
worked on a long time ago. It would be nice to have a smaller sample file.
In the mean time I compressed the CEL file (5.5MB > 1.1MB) which makes the
doc test a little messy and uses io.StingIO() (py3 only).
You can take a look here.
https://github.com/vincentdavis/biopython/blob/celfile/Bio/Affy/CelFile.py
https://github.com/vincentdavis/biopython/tree/celfile/Tests/Affy
I guess I am looking for feedback on how to best go about testing
CelFile.read() I am kinda thinking a "regular" test would be better and
keep the docs simpler.
Vincent Davis
720-301-3003
On Sun, May 18, 2014 at 9:25 AM, Peter Cock <p.j.a.cock at googlemail.com>wrote:
> Nope - its one of the older bits of Biopython which never
> had tests as far as I know, and for which none have been
> written. That might be useful in itself (before any changes
> for v4), to check older functionality is still OK... or it might
> reveal the code is broken and no longer works on current
> versions of Python?
>
> Peter
>
>
> On Sun, May 18, 2014 at 3:11 PM, Vincent Davis <vincent at vincentdavis.net>
> wrote:
> > Is there a test of Bio.Affy.CelFile.oy hidden somewhere?
> > I ask because I was looking at the pull request for reading Cel file
> > version 4.
> >
> > Vincent Davis
> > 720-301-3003
> > _______________________________________________
> > Biopython-dev mailing list
> > Biopython-dev at lists.open-bio.org
> > http://lists.open-bio.org/mailman/listinfo/biopython-dev
>
More information about the Biopython-dev
mailing list