Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 2 | 0.961 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 252 | Bio/ExPASy/Prosite.py |
2 | 18 | 573 | Bio/Prosite/__init__.py |
| ||||
refs = value.split(";") for ref in refs: if not ref: continue acc,name,type = [word.strip( ) for word in ref.split(",")] if type=="T": record.dr_positive.append((acc,name)) elif type=="F": record.dr_false_pos.append((acc,name)) elif type=="N": record.dr_false_neg.append((acc,name)) elif type=="P": record.dr_potential.append((acc,name)) elif type=="?": record.dr_unknown.append((acc,name)) else: raise ValueError("I don't understand type flag %s"%type) |
| ||||
refs = self._clean(line).split(";") for ref in refs: if not ref: continue acc,name,type = [word.strip( ) for word in ref.split(",")] if type=="T": self.data.dr_positive.append((acc,name)) elif type=="F": self.data.dr_false_pos.append((acc,name)) elif type=="N": self.data.dr_false_neg.append((acc,name)) elif type=="P": self.data.dr_potential.append((acc,name)) elif type=="?": self.data.dr_unknown.append((acc,name)) else: raise ValueError("I don't understand type flag %s"%type) |
| |||
refs = [[#variable774d1f80]].split(";") for ref in refs: if not ref: continue acc,name,type = [word.strip( ) for word in ref.split(",")] if type=="T": [[#variable774d1f60]].dr_positive.append((acc,name)) elif type=="F": [[#variable774d1f60]].dr_false_pos.append((acc,name)) elif type=="N": [[#variable774d1f60]].dr_false_neg.append((acc,name)) elif type=="P": [[#variable774d1f60]].dr_potential.append((acc,name)) elif type=="?": [[#variable774d1f60]].dr_unknown.append((acc,name)) else: raise ValueError("I don't understand type flag %s"%type) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#774d1f80]] | value |
1 | 2 | [[#774d1f80]] | self._clean(line) |
2 | 1 | [[#774d1f60]] | record |
2 | 2 | [[#774d1f60]] | self.data |