CloneSet236


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13260.951compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15318
Bio/SwissProt/SProt.py
213384
Bio/SwissProt/SProt.py
Clone Instance
1
Line Count
5
Source Line
318
Source File
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) 


Clone Instance
2
Line Count
13
Source Line
384
Source File
Bio/SwissProt/SProt.py

    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) 


Clone AbstractionParameter Count: 6Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#61d01bc0]]
_scan_ra 
12[[#61d01bc0]]
_scan_dt 
21[[#61d01b60]]
"RA" 
22[[#61d01b60]]
"DT" 
31[[#61d006e0]]
reference_author 
32[[#61d006e0]]
date 
41[[#61d01ac0]]
any_number 
42[[#61d01ac0]]
exactly_one 
51[[#61d01b00]]
"RG" 
52[[#61d01b00]]
"DT" 
61[[#61d006a0]]
any_number 
62[[#61d006a0]]
up_to_one