Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.975 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 135 | Bio/utils.py |
2 | 4 | 140 | Bio/utils.py |
| ||||
def total_weight(seq,weight_table = None): if weight_table is None: weight_table = default_manager.resolve(seq.alphabet,"weight_table") return sum(seq,weight_table) |
| ||||
def total_weight_range(seq,weight_table = None): if weight_table is None: weight_table = default_manager.resolve(seq.alphabet,"weight_range_table") return sum_2ple(seq,weight_table) |
| |||
def [[#variable1807d100]](seq,weight_table = None): if weight_table is None: weight_table = default_manager.resolve(seq.alphabet, [[#variable1807c9e0]]) return [[#variable1807d660]](seq,weight_table) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1807d100]] | total_weight_range |
1 | 2 | [[#1807d100]] | total_weight |
2 | 1 | [[#1807c9e0]] | "weight_range_table" |
2 | 2 | [[#1807c9e0]] | "weight_table" |
3 | 1 | [[#1807d660]] | sum_2ple |
3 | 2 | [[#1807d660]] | sum |