CloneSet212


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21210.995compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121470
Bio/Graphics/GenomeDiagram/_CircularDrawer.py
220826
Bio/Graphics/GenomeDiagram/_LinearDrawer.py
Clone Instance
1
Line Count
21
Source Line
470
Source File
Bio/Graphics/GenomeDiagram/_CircularDrawer.py

    def draw_graph_set(self,set): 
        """ draw_graph_set(self, set) -> ([element, element,...], [element, element,...])
        
            o set       GraphSet object

            Returns tuple (list of graph elements, list of graph labels)
        """ 
        #print 'draw graph set'
        elements = [ ]  # Holds graph elements

        # Distribution dictionary for how to draw the graph
        style_methods = {"line":self.draw_line_graph,"heat":self.draw_heat_graph,"bar":self.draw_bar_graph} 




        for graph in set.get_graphs( ):
                                      
            #print graph.name
            elements+=style_methods[graph.style](graph) 
        return elements,[ ] 


Clone Instance
2
Line Count
20
Source Line
826
Source File
Bio/Graphics/GenomeDiagram/_LinearDrawer.py

    def draw_graph_set(self,set): 
        """ draw_graph_set(self, set) -> ([element, element,...], [element, element,...])

            o set       GraphSet object

            Returns tuple (list of graph elements, list of graph labels)
        """ 
        #print 'draw graph set'
        elements = [ ]  # Holds graph elements

        # Distribution dictionary for how to draw the graph
        style_methods = {"line":self.draw_line_graph,"heat":self.draw_heat_graph,"bar":self.draw_bar_graph} 




        for graph in set.get_graphs( ):
                                      
            elements+=style_methods[graph.style](graph) 
        return elements,[ ] 


Clone AbstractionParameter Count: 1Parameter Bindings

def draw_graph_set(self,set):
   [[#variable175ba780]]
  #print 'draw graph set'
  elements = [ ] # Holds graph elements
  # Distribution dictionary for how to draw the graph
  style_methods = {"line":self.draw_line_graph,"heat":self.draw_heat_graph,"bar":self.draw_bar_graph} 
  for graph in set.get_graphs( ):
  
    #print graph.name
    elements+=style_methods[graph.style](graph) 
  return elements,[ ] 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#175ba780]]
""" draw_graph_set(self, set) -> ([element, element,...], [element, element,...])
        
            o set       GraphSet object

            Returns tuple (list of graph elements, list of graph labels)
        """ 
12[[#175ba780]]
""" draw_graph_set(self, set) -> ([element, element,...], [element, element,...])

            o set       GraphSet object

            Returns tuple (list of graph elements, list of graph labels)
        """