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

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

src/b/i/biopython-1.63/Tests/test_GraphicsChromosome.py   biopython(Download)
        cur_segment.scale = scale
 
        cur_chromosome.add(cur_segment)
 
    # scale by the size of chromosome 2
            cur_segment.label = id
 
        cur_chromosome.add(cur_segment)
 
    return cur_chromosome, num_segments
            spacer = BasicChromosome.SpacerSegment()
            spacer.scale = 0.03 * max_length
            cur_chromosome.add(spacer)
            #Add an opening telomere
            start = BasicChromosome.TelomereSegment()
            start.scale = 0.02 * max_length
            start.fill_color = colors.lightgrey
            cur_chromosome.add(start)
            body = BasicChromosome.AnnotatedChromosomeSegment(length, cytobands + features)
            body.scale = length
            cur_chromosome.add(body)
            #Add a closing telomere
            end = BasicChromosome.TelomereSegment(inverted=True)

src/b/i/biopython-HEAD/Tests/test_GraphicsChromosome.py   biopython(Download)
        cur_segment.scale = scale
 
        cur_chromosome.add(cur_segment)
 
    # scale by the size of chromosome 2
            cur_segment.label = id
 
        cur_chromosome.add(cur_segment)
 
    return cur_chromosome, num_segments
            spacer = BasicChromosome.SpacerSegment()
            spacer.scale = 0.03 * max_length
            cur_chromosome.add(spacer)
            #Add an opening telomere
            start = BasicChromosome.TelomereSegment()
            start.scale = 0.02 * max_length
            start.fill_color = colors.lightgrey
            cur_chromosome.add(start)
            body = BasicChromosome.AnnotatedChromosomeSegment(length, cytobands + features)
            body.scale = length
            cur_chromosome.add(body)
            #Add a closing telomere
            end = BasicChromosome.TelomereSegment(inverted=True)