CloneSet184


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.996stmt_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1764
Bio/Prosite/Pattern.py
2984
Bio/Prosite/Pattern.py
Clone Instance
1
Line Count
7
Source Line
64
Source File
Bio/Prosite/Pattern.py

    flg = (pattern[ :2]=="[<") 
    s = pattern.replace("{","[^") 
    s = s.translate(_prosite_trans,"-.") 
    # special case "[<" and ">]", if they exist
    if flg: 
         i = s.index("]") 
         s = "(?:^|["+s[2:i]+"])"+s[i+1: ] 


Clone Instance
2
Line Count
9
Source Line
84
Source File
Bio/Prosite/Pattern.py

    flg = (pattern[ :2]=="[<") 
    s = pattern.replace("{","[^") 
    # Don't delete the "-" characters: use them to place the ()s
    s = s.translate(_prosite_trans,".") 

    # Get the [< and >] terms correct
    if flg: 
         i = s.index("]") 
         s = "(?:^|["+s[2:i]+"])"+s[i+1: ] 


Clone AbstractionParameter Count: 1Parameter Bindings

flg = (pattern[ :2]=="[<") 
s = pattern.replace("{","[^") 
# Don't delete the "-" characters: use them to place the ()s
s = s.translate(_prosite_trans, [[#variable5e087840]]) 
# Get the [< and >] terms correct
# special case "[<" and ">]", if they exist
if flg:
  i = s.index("]") 
  s = "(?:^|["+s[2:i]+"])"+s[i+1: ] 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5e087840]]
"." 
12[[#5e087840]]
"-."