CloneSet416


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.975compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14135
Bio/utils.py
24140
Bio/utils.py
Clone Instance
1
Line Count
4
Source Line
135
Source File
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) 


Clone Instance
2
Line Count
4
Source Line
140
Source File
Bio/utils.py

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) 


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1807d100]]
total_weight_range 
12[[#1807d100]]
total_weight 
21[[#1807c9e0]]
"weight_range_table" 
22[[#1807c9e0]]
"weight_table" 
31[[#1807d660]]
sum_2ple 
32[[#1807d660]]
sum