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/b/i/biopython-1.63/Tests/test_GraphicsChromosome.py   biopython(Download)
        for chr_name in ["I", "II", "III", "IV"]:
            cur_chromosome = load_chromosome(chr_name)
            pdf_organism.add(cur_chromosome)
 
        pdf_organism.draw(self.test_file, "Test organism")
        for chr_name in ["I", "II", "III", "IV"]:
            cur_chromosome = load_chromosome(chr_name)
            test_organism.add(cur_chromosome)
        test_organism.draw(test_file, "Test organism")
 
        for chr in all_chrs:
            chr.scale_num = max_segs
            pdf_organism.add(chr)
 
        pdf_organism.draw(random_file, "Randomly generated Organism")
            cur_chromosome.add(spacer)
            #This chromosome is done
            chr_diagram.add(cur_chromosome)
        chr_diagram.draw("Graphics/tRNA_chrom.pdf", "Arabidopsis thaliana tRNA")
 

src/b/i/biopython-HEAD/Tests/test_GraphicsChromosome.py   biopython(Download)
        for chr_name in ["I", "II", "III", "IV"]:
            cur_chromosome = load_chromosome(chr_name)
            pdf_organism.add(cur_chromosome)
 
        pdf_organism.draw(self.test_file, "Test organism")
        for chr_name in ["I", "II", "III", "IV"]:
            cur_chromosome = load_chromosome(chr_name)
            test_organism.add(cur_chromosome)
        test_organism.draw(test_file, "Test organism")
 
        for chr in all_chrs:
            chr.scale_num = max_segs
            pdf_organism.add(chr)
 
        pdf_organism.draw(random_file, "Randomly generated Organism")
            cur_chromosome.add(spacer)
            #This chromosome is done
            chr_diagram.add(cur_chromosome)
        with warnings.catch_warnings():
            # BiopythonWarning: Too many labels to avoid overlap