Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 1 | 0.995 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 470 | Bio/Graphics/GenomeDiagram/_CircularDrawer.py |
2 | 20 | 826 | 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( ): #print graph.name elements+=style_methods[graph.style](graph) return elements,[ ] |
| ||||
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,[ ] |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#175ba780]] | """ draw_graph_set(self, set) -> ([element, element,...], [element, element,...]) o set GraphSet object Returns tuple (list of graph elements, list of graph labels) """ |
1 | 2 | [[#175ba780]] | """ draw_graph_set(self, set) -> ([element, element,...], [element, element,...]) o set GraphSet object Returns tuple (list of graph elements, list of graph labels) """ |