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

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/j/c/jcvi-HEAD/formats/ace.py   jcvi(Download)
 
    acefile, = args
    ace = Ace.read(must_open(acefile))
    logging.debug('Loaded ace file {0}'.format(acefile))
 
 
    acefile, = args
    ace = Ace.read(must_open(acefile))
    logging.debug('Loaded ace file {0}'.format(acefile))
 

src/b/i/biopython-HEAD/Tests/test_Ace.py   biopython(Download)
    def test_check_ACEParser(self):
        """Test to check that ACEParser can parse the whole file into one record."""
        record = Ace.read(self.handle)
        self.assertEqual(record.ncontigs, 2)
        self.assertEqual(record.nreads, 16)
    def test_check_ACEParser(self):
        """Test to check that ACEParser can parse the whole file into one record."""
        record=Ace.read(self.handle)
        self.assertEqual(record.ncontigs, 1)
        self.assertEqual(record.nreads, 6)
    def test_check_ACEParser(self):
        """Test to check that ACEParser can parse the whole file into one record."""
        record=Ace.read(self.handle)
        self.assertEqual(record.ncontigs, 1)
        self.assertEqual(record.nreads, 8)

src/b/i/biopython-1.63/Tests/test_Ace.py   biopython(Download)
    def test_check_ACEParser(self):
        """Test to check that ACEParser can parse the whole file into one record."""
        record = Ace.read(self.handle)
        self.assertEqual(record.ncontigs, 2)
        self.assertEqual(record.nreads, 16)
    def test_check_ACEParser(self):
        """Test to check that ACEParser can parse the whole file into one record."""
        record=Ace.read(self.handle)
        self.assertEqual(record.ncontigs, 1)
        self.assertEqual(record.nreads, 6)
    def test_check_ACEParser(self):
        """Test to check that ACEParser can parse the whole file into one record."""
        record=Ace.read(self.handle)
        self.assertEqual(record.ncontigs, 1)
        self.assertEqual(record.nreads, 8)