| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 2 | 0.976 | compound_stmt |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 224 | Bio/Motif/_Motif.py |
| 2 | 8 | 263 | Bio/Motif/_Motif.py |
| ||||
for offset in range( -self.length+1,motif.length):
if offset<0:
p = self.dist_pearson_at(motif, -offset)
else: #offset>=0
p = motif.dist_pearson_at(self,offset)
if max_p<p:
max_p = p
max_o = -offset
|
| ||||
for offset in range( -self.length+1,other.length):
if offset<0:
p = self.dist_product_at(other, -offset)
else: #offset>=0
p = other.dist_product_at(self,offset)
if max_p<p:
max_p = p
max_o = -offset
|
| |||
for offset in range( -self.length+1, [[#variable761f4600]].length):
if offset<0:
p = self. [[#variable1781a440]]( [[#variable761f4600]], -offset)
else: #offset>=0
p = [[#variable761f4600]]. [[#variable1781a440]](self,offset)
if max_p<p:
max_p = p
max_o = -offset
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#761f4600]] | motif |
| 1 | 2 | [[#761f4600]] | other |
| 2 | 1 | [[#1781a440]] | dist_pearson_at |
| 2 | 2 | [[#1781a440]] | dist_product_at |