﻿ CloneSet 29

# CloneSet29

 Previous CloneSet Next CloneSet Back to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
27260.990stmt_list[5]
 Clone Abstraction Parameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1251067
`Bio/Graphics/GenomeDiagram/_CircularDrawer.py`
2271105
`Bio/Graphics/GenomeDiagram/_CircularDrawer.py`
 Clone Instance1 Line Count25 Source Line1067 Source File`Bio/Graphics/GenomeDiagram/_CircularDrawer.py`

```            p.addArc(self.xcenter,self.ycenter,shaft_outer_radius,90-(headangle*180/pi),90-(startangle*180/pi),reverse = True)

if abs(angle)<0.5:
else:
dx = min(0.1,abs(angle)/50.0)  #auto-scale number of steps
x = dx
while x<1:
p.lineTo(x0+r*sin(a),y0+r*cos(a))
x+=dx
x = dx
while x<1:
p.lineTo(x0+r*sin(a),y0+r*cos(a))
x+=dx
p.closePath( )
return p

```

 Clone Instance2 Line Count27 Source Line1105 Source File`Bio/Graphics/GenomeDiagram/_CircularDrawer.py`

```            p.addArc(self.xcenter,self.ycenter,shaft_outer_radius,90-(endangle*180/pi),90-(headangle*180/pi),reverse = False)

#TODO - two staight lines is only a good approximation for small
#head angle, in general will need to curved lines here:
if abs(angle)<0.5:
else:
dx = min(0.1,abs(angle)/50.0)  #auto-scale number of steps
x = dx
while x<1:
p.lineTo(x0+r*sin(a),y0+r*cos(a))
x+=dx
x = dx
while x<1:
p.lineTo(x0+r*sin(a),y0+r*cos(a))
x+=dx
p.closePath( )
return p

```

 Clone Abstraction Parameter Count: 6 Parameter Bindings

```p.addArc(self.xcenter,self.ycenter,shaft_outer_radius,90-( [[#variable73024b20]]*180/pi),90-( [[#variable7800a3a0]]*180/pi),reverse = [[#variable7306f9e0]])
#TODO - two staight lines is only a good approximation for small
#head angle, in general will need to curved lines here:
if abs(angle)<0.5:
else:
dx = min(0.1,abs(angle)/50.0) #auto-scale number of steps
x = dx
while x<1:

p.lineTo(x0+r*sin(a),y0+r*cos(a))
x+=dx
x = dx
while x<1:

p.lineTo(x0+r*sin(a),y0+r*cos(a))
x+=dx
p.closePath( )
return p
```

 CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#73024b20]]
`endangle `
12[[#73024b20]]
`headangle `
21[[#7800a3a0]]
`headangle `
22[[#7800a3a0]]
`startangle `
31[[#7306f9e0]]
`False `
32[[#7306f9e0]]
`True `
41[[#16811640]]
`startsin `
42[[#16811640]]
`endsin `
51[[#60189da0]]
`startcos `
52[[#60189da0]]
`endcos `
61[[#7306fac0]]
`startangle `
62[[#7306fac0]]
`endangle `