Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 3 | 3 | 0.982 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 452 | Bio/Graphics/GenomeDiagram/_Diagram.py |
2 | 11 | 159 | Bio/Graphics/GenomeDiagram/_GraphSet.py |
3 | 11 | 321 | Bio/Graphics/GenomeDiagram/_Track.py |
| ||||
def range(self): """ range(self) -> (int, int) Returns the lowest and highest base (or mark) numbers containd in track features as a tuple """ lows,highs = [ ],[ ] for track in self.tracks.values( ): # Get ranges for each track low,high = track.range( ) lows.append(low) highs.append(high) return (min(lows),max(highs)) # Return extremes from all tracks |
| ||||
def range(self): """ range(self) -> (int, int) Returns the lowest and highest base (or mark) numbers as a tuple """ lows,highs = [ ],[ ] for graph in self._graphs.values( ): low,high = graph.range( ) lows.append(low) highs.append(high) return (min(lows),max(highs)) |
| ||||
def range(self): """ range(self) -> (int, int) Returns the lowest and highest base (or mark) numbers as a tuple """ lows,highs = [ ],[ ] # Holds set of low and high values from sets for set in self._sets.values( ): low,high = set.range( ) # Get each set range lows.append(low) highs.append(high) return (min(lows),max(highs)) # Return lowest and highest values |
| |||
def range(self): [[#variable76234700]] lows,highs = [ ],[ ] # Holds set of low and high values from sets for [[#variable76234f00]]in self. [[#variable76234f80]].values( ): # Get ranges for each track low,high = [[#variable76234f00]].range( ) # Get each set range lows.append(low) highs.append(high) return (min(lows),max(highs)) # Return extremes from all tracks # Return lowest and highest values |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#76234700]] | """ range(self) -> (int, int) Returns the lowest and highest base (or mark) numbers containd in track features as a tuple """ |
1 | 2 | [[#76234700]] | """ range(self) -> (int, int) Returns the lowest and highest base (or mark) numbers as a tuple """ |
1 | 3 | [[#76234700]] | """ range(self) -> (int, int) Returns the lowest and highest base (or mark) numbers as a tuple """ |
2 | 1 | [[#76234f00]] | track |
2 | 2 | [[#76234f00]] | graph |
2 | 3 | [[#76234f00]] | set |
3 | 1 | [[#76234f80]] | tracks |
3 | 2 | [[#76234f80]] | _graphs |
3 | 3 | [[#76234f80]] | _sets |