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

All Samples(20)  |  Call(18)  |  Derive(0)  |  Import(2)

src/b/i/biopython-1.63/Tests/test_XXmotif_tool.py   biopython(Download)
from Bio import SeqIO
from Bio.Application import ApplicationError
from Bio.Motif.Applications import XXmotifCommandline
 
 
        self.assertFalse(os.path.isfile(input_file))
 
        cline = XXmotifCommandline(outdir = self.out_dir,
                                   seqfile = input_file)
 
        try:
            stdout, stderr = cline()
    def test_invalid_format(self):
        """Test an input file in an invalid format."""
        input_file = self.copy_and_mark_for_cleanup("Medline/pubmed_result1.txt")
 
        cline = XXmotifCommandline(outdir = self.out_dir,
                                   seqfile = input_file)
 
        try:
            stdout, stderr = cline()

src/b/i/biopython-HEAD/Tests/test_XXmotif_tool.py   biopython(Download)
from Bio import SeqIO
from Bio.Application import ApplicationError
from Bio.Motif.Applications import XXmotifCommandline
 
 
        self.assertFalse(os.path.isfile(input_file))
 
        cline = XXmotifCommandline(outdir = self.out_dir,
                                   seqfile = input_file)
 
        try:
            stdout, stderr = cline()
    def test_invalid_format(self):
        """Test an input file in an invalid format."""
        input_file = self.copy_and_mark_for_cleanup("Medline/pubmed_result1.txt")
 
        cline = XXmotifCommandline(outdir = self.out_dir,
                                   seqfile = input_file)
 
        try:
            stdout, stderr = cline()