Back to index

python-biopython  1.60
__init__.py
Go to the documentation of this file.
00001 # Copyright 2007 by Tiago Antao.  All rights reserved.
00002 # This code is part of the Biopython distribution and governed by its
00003 # license.  Please see the LICENSE file that should have been included
00004 # as part of this package.
00005 
00006 '''
00007 SimCoal2 execution module and support functions.
00008 '''
00009 
00010 import os
00011 import sys
00012 
00013 #This is a workaround to work with the test system
00014 #In any case the problem is with the test system
00015 for instance in sys.path:
00016     test_path = os.path.join(instance, 'Bio', 'PopGen', 'SimCoal', 'data')
00017     if os.access(test_path, os.F_OK):
00018         builtin_tpl_dir = test_path
00019         break