CloneSet171


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000stmt_list[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113240
Bio/Graphics/GenomeDiagram/_CircularDrawer.py
213339
Bio/Graphics/GenomeDiagram/_LinearDrawer.py
Clone Instance
1
Line Count
13
Source Line
240
Source File
Bio/Graphics/GenomeDiagram/_CircularDrawer.py

        top_track = max(self.drawn_tracks)     # The 'highest' track to draw

        trackunit_sum = 0           # Holds total number of 'units' taken up by all tracks
        trackunits = { }            # Holds start and end units for each track keyed by track number
        heightholder = 0            # placeholder variable
        for track in range(1,top_track+1):     # track numbers to 'draw'
            try :
                
                trackheight = self._parent[track].height    # Get track height
            except :
                   
                trackheight = 1                             # ...or default to 1
            trackunit_sum+=trackheight    # increment total track unit height
            trackunits[track] = (heightholder,heightholder+trackheight) 
            heightholder+=trackheight     # move to next height


Clone Instance
2
Line Count
13
Source Line
339
Source File
Bio/Graphics/GenomeDiagram/_LinearDrawer.py

        top_track = max(self.drawn_tracks)     # The 'highest' track number to draw

        trackunit_sum = 0           # Total number of 'units' for the tracks
        trackunits = { }            # The start and end units for each track, keyed by track number
        heightholder = 0            # placeholder variable
        for track in range(1,top_track+1):     # for all track numbers to 'draw'
            try :
                
                trackheight = self._parent[track].height    # Get track height
            except :
                   
                trackheight = 1                             # ...or default to 1
            trackunit_sum+=trackheight    # increment total track unit height
            trackunits[track] = (heightholder,heightholder+trackheight) 
            heightholder+=trackheight     # move to next height


Clone AbstractionParameter Count: 0Parameter Bindings

top_track = max(self.drawn_tracks) # The 'highest' track to draw # The 'highest' track number to draw
trackunit_sum = 0 # Holds total number of 'units' taken up by all tracks # Total number of 'units' for the tracks
trackunits = { } # Holds start and end units for each track keyed by track number # The start and end units for each track, keyed by track number
heightholder = 0 # placeholder variable
for track in range(1,top_track+1): # track numbers to 'draw' # for all track numbers to 'draw'
  try :
  
    trackheight = self._parent[track].height # Get track height
  except :
  
    trackheight = 1 # ...or default to 1
  trackunit_sum+=trackheight # increment total track unit height
  trackunits[track] = (heightholder,heightholder+trackheight) 
  heightholder+=trackheight # move to next height
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None