CloneSet64


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18220.961block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118252
Bio/ExPASy/Prosite.py
218573
Bio/Prosite/__init__.py
Clone Instance
1
Line Count
18
Source Line
252
Source File
Bio/ExPASy/Prosite.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) 
                 


Clone Instance
2
Line Count
18
Source Line
573
Source File
Bio/Prosite/__init__.py

        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) 
             


Clone AbstractionParameter Count: 2Parameter Bindings

  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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#774d1f80]]
value 
12[[#774d1f80]]
self._clean(line) 
21[[#774d1f60]]
record 
22[[#774d1f60]]
self.data