[Biopython-dev] [Bug 2375] Coalescent support through Simcoal2

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Dec 22 16:19:51 UTC 2008


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





------- Comment #25 from biopython-bugzilla at maubp.freeserve.co.uk  2008-12-22 11:19 EST -------
(In reply to comment #24)
> I committed my patch to setup.py, as it seems to work fine with Python 2.3,
> 2.4, and 2.5 on all platforms. Leaving this bug open, since we still need to
> remove the workaround in Bio/PopGen/SimCoal/__init__.py.

Editing Bio/PopGen/SimCoal/__init__.py so do just the following seems to work
fine on Linux and MacOS (I've not tested on Windows yet):

import os
builtin_tpl_dir = os.path.abspath(os.path.join(os.path.dirname(__file__),
"data"))

I *think* this directory is only used in one place in
Bio/PopGen/SimCoal/Template.py so it might make more sense to put this code in
that function (leaving the __init__.py file essentially empty).  What do you
think Tiago?


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