[Biopython-dev] [Bug 2711] GenomeDiagram.py: write() and write_to_string() are inefficient and don't check inputs

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Jan 5 22:33:30 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2711





------- Comment #20 from biopython-bugzilla at maubp.freeserve.co.uk  2009-01-05 17:33 EST -------
(In reply to comment #19)
> I mean that test_GenomeDiagram should also check for renderPM and provide a
> warning if not present. So if tests are run then there is some indication that
> something is missing.

The way we have our external dependency checking setup, if something is missing
the whole test is skipped.  I want to keep test_GenomeDiagram.py as it is
producing PDF output (with no dependency on renderPM - so that the core
GenomeDiagram functionality is tested).

However, I had been thinking about adding a (smaller) extra test, say
test_GenomeDiagram_bitmaps.py which would need renderPM installed. 
Alternatively this could be a more general quick test for making PNG etc with
all of Bio.Graphics after fixing Bug 2718.

This would as you point out mean anyone running the test suite would then be
alerted to the fact they may be missing renderPM - which would be a good thing.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list