CloneSet127


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12330.982compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112452
Bio/Graphics/GenomeDiagram/_Diagram.py
211159
Bio/Graphics/GenomeDiagram/_GraphSet.py
311321
Bio/Graphics/GenomeDiagram/_Track.py
Clone Instance
1
Line Count
12
Source Line
452
Source File
Bio/Graphics/GenomeDiagram/_Diagram.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


Clone Instance
2
Line Count
11
Source Line
159
Source File
Bio/Graphics/GenomeDiagram/_GraphSet.py

    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)) 


Clone Instance
3
Line Count
11
Source Line
321
Source File
Bio/Graphics/GenomeDiagram/_Track.py

    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


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#76234700]]
""" range(self) -> (int, int)

            Returns the lowest and highest base (or mark) numbers containd in
            track features as a tuple
        """ 
12[[#76234700]]
""" range(self) -> (int, int)

            Returns the lowest and highest base (or mark) numbers as a tuple
        """ 
13[[#76234700]]
""" range(self) -> (int, int)

            Returns the lowest and highest base (or mark) numbers as a tuple
        """ 
21[[#76234f00]]
track 
22[[#76234f00]]
graph 
23[[#76234f00]]
set 
31[[#76234f80]]
tracks 
32[[#76234f80]]
_graphs 
33[[#76234f80]]
_sets