CloneSet162


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11220.989stmt_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111338
Bio/Graphics/GenomeDiagram/_Diagram.py
211363
Bio/Graphics/GenomeDiagram/_Diagram.py
Clone Instance
1
Line Count
11
Source Line
338
Source File
Bio/Graphics/GenomeDiagram/_Diagram.py

        if track_level not in self.tracks:     # No track at that level
            self.tracks[track_level] = track   # so just add it
        else:       # Already a track there, so shunt all higher tracks up one
            occupied_levels = self.get_levels( ) # Get list of occupied levels...
            occupied_levels.sort( )             # ...sort it...
            occupied_levels.reverse( )          # ...reverse it (highest first)
            for val in occupied_levels:     
                if val>=track:          # If track value >= that to be added
                    self.tracks[val+1] = self.tracks[val] # ...increment by 1
                
            self.tracks[track_level] = track   # And put the new track in
        self.tracks[track_level].track_level = track_level 


Clone Instance
2
Line Count
11
Source Line
363
Source File
Bio/Graphics/GenomeDiagram/_Diagram.py

        if track_level not in self.tracks:        # No track at that level
            self.tracks[track_level] = newtrack   # so just add it
        else:       # Already a track there, so shunt all higher tracks up one
            occupied_levels = self.get_levels( ) # Get list of occupied levels...
            occupied_levels.sort( )             # ...sort it...
            occupied_levels.reverse( )          # ...reverse (highest first)...
            for val in occupied_levels:     
                if val>=track_level:          # Track value >= that to be added
                    self.tracks[val+1] = self.tracks[val] # ..increment by 1
                
            self.tracks[track_level] = newtrack   # And put the new track in
        self.tracks[track_level].track_level = track_level 


Clone AbstractionParameter Count: 2Parameter Bindings

if track_level not in self.tracks: # No track at that level
  self.tracks[track_level] = [[#variable1a478240]]
else: # Already a track there, so shunt all higher tracks up one
  occupied_levels = self.get_levels( ) # Get list of occupied levels...
  occupied_levels.sort( ) # ...sort it...
  occupied_levels.reverse( ) # ...reverse it (highest first) # ...reverse (highest first)...
  for val in occupied_levels:
  
    if val>= [[#variable78b71480]]: # If track value >= that to be added # Track value >= that to be added
      self.tracks[val+1] = self.tracks[val] # ...increment by 1 # ..increment by 1
    
  self.tracks[track_level] = [[#variable1a478240]]
self.tracks[track_level].track_level = track_level 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a478240]]
track # so just add it 
12[[#1a478240]]
newtrack # so just add it 
21[[#78b71480]]
track 
22[[#78b71480]]
track_level