Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.996 | stmt_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 64 | Bio/Prosite/Pattern.py |
2 | 9 | 84 | 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: ] |
| ||||
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: ] |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5e087840]] | "." |
1 | 2 | [[#5e087840]] | "-." |