Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.966 | stmt_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 95 | Bio/FSSP/__init__.py |
2 | 7 | 102 | Bio/FSSP/__init__.py |
| ||||
self.pdb1 = in_rec[1][ :4] if len(in_rec[1])==4: self.chain1 = "0" elif len(in_rec[1])==5: self.chain1 = in_rec[1][4] else: raise ValueError("Bad PDB ID 1") |
| ||||
self.pdb2 = in_rec[2][ :4] if len(in_rec[2])==4: self.chain2 = "0" elif len(in_rec[2])==5: self.chain2 = in_rec[2][4] else: raise ValueError("Bad PDB ID 2") |
| |||
self. [[#variable30ceb280]]= in_rec[ [[#variable4f9465a0]]][ :4] if len(in_rec[ [[#variable4f9465a0]]])==4: self. [[#variable4f9464e0]]= "0" elif len(in_rec[ [[#variable4f9465a0]]])==5: self. [[#variable4f9464e0]]= in_rec[ [[#variable4f9465a0]]][4] else: raise ValueError( [[#variable4f9464c0]]) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#30ceb280]] | pdb1 |
1 | 2 | [[#30ceb280]] | pdb2 |
2 | 1 | [[#4f9465a0]] | 1 |
2 | 2 | [[#4f9465a0]] | 2 |
3 | 1 | [[#4f9464e0]] | chain1 |
3 | 2 | [[#4f9464e0]] | chain2 |
4 | 1 | [[#4f9464c0]] | "Bad PDB ID 1" |
4 | 2 | [[#4f9464c0]] | "Bad PDB ID 2" |