Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(248)  |  Call(147)  |  Derive(0)  |  Import(101)

src/b/i/biopython-1.63/Bio/SeqIO/UniprotIO.py   biopython(Download)
 
    if ElementTree is None:
        from Bio import MissingExternalDependencyError
        raise MissingExternalDependencyError(
                "No ElementTree module was found. "

src/b/i/biopython-HEAD/Bio/SeqIO/UniprotIO.py   biopython(Download)
 
    if ElementTree is None:
        from Bio import MissingExternalDependencyError
        raise MissingExternalDependencyError(
                "No ElementTree module was found. "

src/b/i/biopython-1.63/Tests/test_Entrez.py   biopython(Download)
    del model
except ImportError:
    from Bio import MissingExternalDependencyError
    raise MissingExternalDependencyError("Not supported on PyPy 1.6, see "
                                         "https://bugs.pypy.org/issue914")
    p.StartElementHandler is None
except AttributeError:
    from Bio import MissingExternalDependencyError
    raise MissingExternalDependencyError("Not supported on PyPy 1.7, see "
                                         "https://bugs.pypy.org/issue933")

src/b/i/biopython-1.63/Tests/test_TCoffee_tool.py   biopython(Download)
import os
import unittest
from Bio import AlignIO, SeqIO, MissingExternalDependencyError
from Bio.Align.Applications import TCoffeeCommandline
 
if sys.platform=="win32":
    raise MissingExternalDependencyError(
        "Testing TCOFFEE on Windows not supported yet")
else:
    from Bio._py3k import getoutput
if not t_coffee_exe:
    raise MissingExternalDependencyError(
        "Install TCOFFEE if you want to use the Bio.Align.Applications wrapper.")
 
 

src/b/i/biopython-1.63/Tests/test_Probcons_tool.py   biopython(Download)
import unittest
from Bio._py3k import StringIO
from Bio import AlignIO, SeqIO, MissingExternalDependencyError
from Bio.Align.Applications import ProbconsCommandline
 
probcons_exe = None
if sys.platform=="win32":
    raise MissingExternalDependencyError("PROBCONS not available on Windows")
else:
    from Bio._py3k import getoutput
if not probcons_exe:
    raise MissingExternalDependencyError(
        "Install PROBCONS if you want to use the Bio.Align.Applications wrapper.")
 
 

src/b/i/biopython-1.63/Tests/test_MSAProbs_tool.py   biopython(Download)
import unittest
from Bio import AlignIO
from Bio import MissingExternalDependencyError
from Bio import SeqIO
from Bio.Align.Applications import MSAProbsCommandline
if sys.platform == "win32":
    #TODO
    raise MissingExternalDependencyError("Testing this on Windows is not implemented yet")
else:
    output = getoutput("msaprobs -version")
if not msaprobs_exe:
    raise MissingExternalDependencyError(
        "Install msaprobs if you want to use MSAProbs from Biopython.")
 
 

src/b/i/biopython-1.63/Tests/test_ClustalOmega_tool.py   biopython(Download)
# as part of this package.
 
from Bio import MissingExternalDependencyError
 
import sys
if sys.platform=="win32":
    #TODO
    raise MissingExternalDependencyError("Testing this on Windows not implemented yet")
else:
    from Bio._py3k import getoutput
if not clustalo_exe:
    raise MissingExternalDependencyError(
        "Install clustalo if you want to use Clustal Omega from Biopython.")
 
 

src/b/i/biopython-HEAD/Tests/test_TCoffee_tool.py   biopython(Download)
import os
import unittest
from Bio import AlignIO, SeqIO, MissingExternalDependencyError
from Bio.Align.Applications import TCoffeeCommandline
 
if sys.platform=="win32":
    raise MissingExternalDependencyError(
        "Testing TCOFFEE on Windows not supported yet")
else:
    from Bio._py3k import getoutput
if not t_coffee_exe:
    raise MissingExternalDependencyError(
        "Install TCOFFEE if you want to use the Bio.Align.Applications wrapper.")
 
 

src/b/i/biopython-HEAD/Tests/test_Probcons_tool.py   biopython(Download)
import unittest
from Bio._py3k import StringIO
from Bio import AlignIO, SeqIO, MissingExternalDependencyError
from Bio.Align.Applications import ProbconsCommandline
 
probcons_exe = None
if sys.platform=="win32":
    raise MissingExternalDependencyError("PROBCONS not available on Windows")
else:
    from Bio._py3k import getoutput
if not probcons_exe:
    raise MissingExternalDependencyError(
        "Install PROBCONS if you want to use the Bio.Align.Applications wrapper.")
 
 

src/b/i/biopython-HEAD/Tests/test_MSAProbs_tool.py   biopython(Download)
import unittest
from Bio import AlignIO
from Bio import MissingExternalDependencyError
from Bio import SeqIO
from Bio.Align.Applications import MSAProbsCommandline
if sys.platform == "win32":
    #TODO
    raise MissingExternalDependencyError("Testing this on Windows is not implemented yet")
else:
    output = getoutput("msaprobs -version")
if not msaprobs_exe:
    raise MissingExternalDependencyError(
        "Install msaprobs if you want to use MSAProbs from Biopython.")
 
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next