Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

# Copyright 2000 by Jeffrey Chang.  All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license.  Please see the LICENSE file that should have been included
# as part of this package.
"""Collection of modules for dealing with biological data in Python.

The Biopython Project is an international association of developers 
of freely available Python tools for computational molecular biology.


__docformat__ = "epytext en" #not just plaintext

__version__ = "1.58"

00017 class MissingExternalDependencyError(Exception):
    """Missing an external dependency.

    Used for things like missing command line tools. Important for our unit
    tests to allow skipping tests with missing external dependencies.

00025 class MissingPythonDependencyError(MissingExternalDependencyError, ImportError):
    """Missing an external python dependency (subclass of ImportError).

    Used for missing Python modules (rather than just a typical ImportError).
    Important for our unit tests to allow skipping tests with missing external
    python dependencies, while also allowing the exception to be caught as an

00035 class BiopythonWarning(Warning):
    """Biopython warning.
    Biopython should use this warning (or subclasses of it), making it easy to
    silence all our warning messages should you wish to:

        >>> import warnings
        >>> from Bio import BiopythonWarning
        >>> warnings.simplefilter('ignore', BiopythonWarning)

    Consult the warnings module documentation for more details.

00049 class BiopythonParserWarning(BiopythonWarning):
    """Biopython parser warning.
    Some in-valid data files cannot be parsed and will trigger an exception.
    Where a reasonable interpretation is possible, Biopython will issue this
    warning to indicate a potential problem. To silence these warnings, use:

        >>> import warnings
        >>> from Bio import BiopythonParserWarning
        >>> warnings.simplefilter('ignore', BiopythonParserWarning)

    Consult the warnings module documentation for more details.

00064 class BiopythonDeprecationWarning(BiopythonWarning):
    """Biopython deprecation warning.
    Biopython uses this warning instead of the built in DeprecationWarning
    since those are ignored by default since Python 2.7.

    To silence all our deprecation warning messages, use:

        >>> import warnings
        >>> from Bio import BiopythonDeprecationWarning
        >>> warnings.simplefilter('ignore', BiopythonDeprecationWarning)

    Code marked as deprecated is likely to be removed in a future version
    of Biopython. To avoid removal of this code, please contact the Biopython
    developers by sending an email to biopython-dev@biopython.org.

Generated by  Doxygen 1.6.0   Back to index