Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 2 | 0.986 | stmt_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 179 | Bio/PDB/parse_pdb_header.py |
2 | 14 | 194 | Bio/PDB/parse_pdb_header.py |
| ||||
tok = tt.split(":") if len(tok)>=2: ckey = tok[0] cval = re.sub("\\A\\s*","",tok[1]) if ckey=="mol_id": dict["compound"][cval] = {"misc":""} comp_molid = cval last_comp_key = "misc" else: dict["compound"][comp_molid][ckey] = cval last_comp_key = ckey else: dict["compound"][comp_molid][last_comp_key]+=tok[0]+" " |
| ||||
tok = tt.split(":") # print tok if len(tok)>=2: ckey = tok[0] cval = re.sub("\\A\\s*","",tok[1]) if ckey=="mol_id": dict["source"][cval] = {"misc":""} comp_molid = cval last_src_key = "misc" else: dict["source"][comp_molid][ckey] = cval last_src_key = ckey else: dict["source"][comp_molid][last_src_key]+=tok[0]+" " |
| |||
tok = tt.split(":") # print tok if len(tok)>=2: ckey = tok[0] cval = re.sub("\\A\\s*","",tok[1]) if ckey=="mol_id": dict[ [[#variable60803a60]]][cval] = {"misc":""} comp_molid = cval [[#variable60803b20]]= "misc" else: dict[ [[#variable60803a60]]][comp_molid][ckey] = cval [[#variable60803b20]]= ckey else: dict[ [[#variable60803a60]]][comp_molid][ [[#variable60803b20]]]+=tok[0]+" " |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#60803a60]] | "source" |
1 | 2 | [[#60803a60]] | "compound" |
2 | 1 | [[#60803b20]] | last_src_key |
2 | 2 | [[#60803b20]] | last_comp_key |