Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 0 | 1.000 | stmt_list[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 519 | Bio/SwissProt/__init__.py |
2 | 14 | 835 | Bio/SwissProt/SProt.py |
| ||||
extra_info = "" # we might have more information at the end of the # second sequence, which should be in parenthesis extra_info_pos = second_seq.find(" (") if extra_info_pos!= -1: extra_info = second_seq[extra_info_pos: ] second_seq = second_seq[ :extra_info_pos] # now clean spaces out of the first and second string first_seq = first_seq.replace(" ","") second_seq = second_seq.replace(" ","") # reassemble the description description = first_seq+" -> "+second_seq+extra_info |
| ||||
extra_info = "" # we might have more information at the end of the # second sequence, which should be in parenthesis extra_info_pos = second_seq.find(" (") if extra_info_pos!= -1: extra_info = second_seq[extra_info_pos: ] second_seq = second_seq[ :extra_info_pos] # now clean spaces out of the first and second string first_seq = first_seq.replace(" ","") second_seq = second_seq.replace(" ","") # reassemble the description description = first_seq+" -> "+second_seq+extra_info |
| |||
extra_info = "" # we might have more information at the end of the # second sequence, which should be in parenthesis extra_info_pos = second_seq.find(" (") if extra_info_pos!= -1: extra_info = second_seq[extra_info_pos: ] second_seq = second_seq[ :extra_info_pos] # now clean spaces out of the first and second string first_seq = first_seq.replace(" ","") second_seq = second_seq.replace(" ","") # reassemble the description description = first_seq+" -> "+second_seq+extra_info |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |