CloneSet327


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.967compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14243
Bio/Graphics/GenomeDiagram/_Diagram.py
25152
Bio/Graphics/GenomeDiagram/_FeatureSet.py
Clone Instance
1
Line Count
4
Source Line
243
Source File
Bio/Graphics/GenomeDiagram/_Diagram.py

        for track in self.tracks.values( ):
                                          
            if hasattr(track,attr):           # If the feature has the attribute
                if getattr(track,attr)!=value:   
                    setattr(track,attr,value)     # set it to the passed value     
                


Clone Instance
2
Line Count
5
Source Line
152
Source File
Bio/Graphics/GenomeDiagram/_FeatureSet.py

        for feature in self.features.values( ):
                                              
            # If the feature has the attribute, and the value should change
            if hasattr(feature,attr):     
                if getattr(feature,attr)!=value:   
                    setattr(feature,attr,value)   # set it to the passed value

        #For backwards compatibility, we support both colour and color.
        #As a quick hack, make "colour" set both "colour" and "color".
        #if attr=="colour" :
        #    self.set_all_feature("color",value)
                


Clone AbstractionParameter Count: 2Parameter Bindings

for [[#variable30a97540]]in self. [[#variable30a97420]].values( ):
  # If the feature has the attribute, and the value should change
  if hasattr( [[#variable30a97540]],attr): # If the feature has the attribute
    if getattr( [[#variable30a97540]],attr)!=value:
    
      setattr( [[#variable30a97540]],attr,value) # set it to the passed value      # set it to the passed value
      #For backwards compatibility, we support both colour and color.
      #As a quick hack, make "colour" set both "colour" and "color".
      #if attr=="colour" :
      #    self.set_all_feature("color",value)
    
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#30a97540]]
track 
12[[#30a97540]]
feature 
21[[#30a97420]]
tracks 
22[[#30a97420]]
features