Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 6 | 0.951 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 318 | Bio/SwissProt/SProt.py |
2 | 13 | 384 | Bio/SwissProt/SProt.py |
| ||||
def _scan_dt(self,uhandle,consumer): self._scan_line("DT",uhandle,consumer.date,exactly_one = 1) self._scan_line("DT",uhandle,consumer.date,exactly_one = 1) # IPI doesn't necessarily contain the third line about annotations self._scan_line("DT",uhandle,consumer.date,up_to_one = 1) |
| ||||
def _scan_ra(self,uhandle,consumer): # In UniProt release 1.12 of 6/21/04, there is a new RG # (Reference Group) line, which references a group instead of # an author. Each block must have at least 1 RA or RG line. self._scan_line("RA",uhandle,consumer.reference_author,any_number = 1) self._scan_line("RG",uhandle,consumer.reference_author,any_number = 1) # PRKN_HUMAN has RG lines, then RA lines. The best solution # is to write code that accepts either of the line types. # This is the quick solution... self._scan_line("RA",uhandle,consumer.reference_author,any_number = 1) |
| |||
def [[#variable61d01bc0]](self,uhandle,consumer): # In UniProt release 1.12 of 6/21/04, there is a new RG # (Reference Group) line, which references a group instead of # an author. Each block must have at least 1 RA or RG line. self._scan_line( [[#variable61d01b60]],uhandle,consumer. [[#variable61d006e0]], [[#variable61d01ac0]]= 1) self._scan_line( [[#variable61d01b00]],uhandle,consumer. [[#variable61d006e0]], [[#variable61d01ac0]]= 1) # PRKN_HUMAN has RG lines, then RA lines. The best solution # is to write code that accepts either of the line types. # This is the quick solution... # IPI doesn't necessarily contain the third line about annotations self._scan_line( [[#variable61d01b60]],uhandle,consumer. [[#variable61d006e0]], [[#variable61d006a0]]= 1) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#61d01bc0]] | _scan_ra |
1 | 2 | [[#61d01bc0]] | _scan_dt |
2 | 1 | [[#61d01b60]] | "RA" |
2 | 2 | [[#61d01b60]] | "DT" |
3 | 1 | [[#61d006e0]] | reference_author |
3 | 2 | [[#61d006e0]] | date |
4 | 1 | [[#61d01ac0]] | any_number |
4 | 2 | [[#61d01ac0]] | exactly_one |
5 | 1 | [[#61d01b00]] | "RG" |
5 | 2 | [[#61d01b00]] | "DT" |
6 | 1 | [[#61d006a0]] | any_number |
6 | 2 | [[#61d006a0]] | up_to_one |