Package Bio
[hide private]
[frames] | no frames]

Source Code for Package Bio

 1  # Copyright 2000 by Jeffrey Chang.  All rights reserved. 
 2  # This code is part of the Biopython distribution and governed by its 
 3  # license.  Please see the LICENSE file that should have been included 
 4  # as part of this package. 
 5  """Collection of modules for dealing with biological data in Python. 
 6   
 7  The Biopython Project is an international association of developers  
 8  of freely available Python tools for computational molecular biology. 
 9   
10  http://biopython.org 
11  """ 
12   
13  __version__ = "1.56" 
14   
15 -class MissingExternalDependencyError(Exception):
16 """Missing an external dependency. 17 18 Used for things like missing command line tools. Important for our unit 19 tests to allow skipping tests with missing external dependencies. 20 """ 21 pass
22
23 -class MissingPythonDependencyError(MissingExternalDependencyError, ImportError):
24 """Missing an external python dependency (subclass of ImportError). 25 26 Used for missing Python modules (rather than just a typical ImportError). 27 Important for our unit tests to allow skipping tests with missing external 28 python dependencies, while also allowing the exception to be caught as an 29 ImportError. 30 """ 31 pass
32
33 -class BiopythonDeprecationWarning(UserWarning):
34 """Biopython deprecation warning. 35 36 Biopython uses this warning instead of the built in DeprecationWarning 37 since those are ignored by default since Python 2.7. 38 39 Code marked as deprecated is likely to be removed in a future version 40 of Biopython. To avoid removal of this code, please contact the Biopython 41 developers by sending an email to biopython-dev@biopython.org. 42 """ 43 pass
44