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

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

src/b/i/biopython-1.63/Bio/Graphics/DisplayRepresentation.py   biopython(Download)
 
# local stuff
from Bio.Graphics.BasicChromosome import ChromosomeSegment
from Bio.Graphics.BasicChromosome import TelomereSegment
 
            # otherwise, they are just regular segments
            else:
                cur_segment = ChromosomeSegment()
 
            seg_name = self._names[seg_num]

src/b/i/biopython-HEAD/Bio/Graphics/DisplayRepresentation.py   biopython(Download)
 
# local stuff
from Bio.Graphics.BasicChromosome import ChromosomeSegment
from Bio.Graphics.BasicChromosome import TelomereSegment
 
            # otherwise, they are just regular segments
            else:
                cur_segment = ChromosomeSegment()
 
            seg_name = self._names[seg_num]

src/b/i/biopython-HEAD/Tests/test_GraphicsChromosome.py   biopython(Download)
        # otherwise, they are just regular segments
        else:
            cur_segment = BasicChromosome.ChromosomeSegment()
        if label != "":
            cur_segment.label = label
        # otherwise, they are just regular segments
        else:
            cur_segment = BasicChromosome.ChromosomeSegment()
 
        color_chance = random.random()
    def test_widget(self):
        """Try widget derived functionality.
        """
        test_widget = BasicChromosome.ChromosomeSegment()
 

src/b/i/biopython-1.63/Tests/test_GraphicsChromosome.py   biopython(Download)
        # otherwise, they are just regular segments
        else:
            cur_segment = BasicChromosome.ChromosomeSegment()
        if label != "":
            cur_segment.label = label
        # otherwise, they are just regular segments
        else:
            cur_segment = BasicChromosome.ChromosomeSegment()
 
        color_chance = random.random()
    def test_widget(self):
        """Try widget derived functionality.
        """
        test_widget = BasicChromosome.ChromosomeSegment()