[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 Dec 15 11:02:35 UTC 2008


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





------- Comment #11 from lpritc at scri.sari.ac.uk  2008-12-15 06:02 EST -------
(In reply to comment #3)
> I agree something needs to be done for this issue (in particular the bit
> originally covered by Bug 2710.
> 
> Moving the imports into these function(s) would be another way to let use deal
> with the missing renderPM module if and when it is used (either leave the
> ImportError, or raise a missing external dependency error).

One issue with this approach is that, when working with the module
interactively, a user might not be aware of the absence of the appropriate
module until they attempted to produce their output - which might be after
quite a bit of interactive work.  Informing the user up-front that renderPM is
not available - either by ImportError or friendly warning - avoids this.


-- 
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