Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 1 | 0.993 | stmt_list[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 649 | Bio/Graphics/GenomeDiagram/_CircularDrawer.py |
2 | 16 | 464 | Bio/Graphics/GenomeDiagram/_LinearDrawer.py |
| ||||
""" draw_scale(self, track) -> ([element, element,...], [element, element,...]) o track Track object Returns a tuple of (list of elements in the scale, list of labels in the scale) """ scale_elements = [ ] # holds axes and ticks scale_labels = [ ] # holds labels if not track.scale: # no scale required, exit early return [ ],[ ] # Get track locations btm,ctr,top = self.track_radii[self.current_track_level] trackheight = (top-ctr) |
| ||||
""" draw_scale(self, track) -> ([element, element,...], [element, element,...]) o track Track object Returns a tuple of (list of elements in the scale, list of labels in the scale) """ scale_elements = [ ] # Holds axes and ticks scale_labels = [ ] # Holds labels if not track.scale: # No scale required, exit early return [ ],[ ] # Get track location btm,ctr,top = self.track_offsets[self.current_track_level] trackheight = (top-ctr) |
| |||
""" draw_scale(self, track) -> ([element, element,...], [element, element,...]) o track Track object Returns a tuple of (list of elements in the scale, list of labels in the scale) """ scale_elements = [ ] # holds axes and ticks # Holds axes and ticks scale_labels = [ ] # holds labels # Holds labels if not track.scale: # no scale required, exit early # No scale required, exit early return [ ],[ ] # Get track locations # Get track location btm,ctr,top = self. [[#variable62194580]][self.current_track_level] trackheight = (top-ctr) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62194580]] | track_radii |
1 | 2 | [[#62194580]] | track_offsets |