CloneSet279


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.978compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18297
Bio/SCOP/__init__.py
28318
Bio/SCOP/__init__.py
Clone Instance
1
Line Count
8
Source Line
297
Source File
Bio/SCOP/__init__.py

    def write_hie(self,handle):  
        "Build an HIE SCOP parsable file from this object" 
        nodes = self._sunidDict.values( ) 
        # We order nodes to ease comparison with original file
        nodes.sort( lambda n1,n2:cmp(n1.sunid,n2.sunid)) 

        for n in nodes: 
            handle.write(str(n.toHieRecord( ))) 
        


Clone Instance
2
Line Count
8
Source Line
318
Source File
Bio/SCOP/__init__.py

    def write_cla(self,handle):  
        "Build a CLA SCOP parsable file from this object" 
        nodes = self._sidDict.values( ) 
        # We order nodes to ease comparison with original file
        nodes.sort( lambda n1,n2:cmp(n1.sunid,n2.sunid)) 

        for n in nodes: 
            handle.write(str(n.toClaRecord( ))) 
        


Clone AbstractionParameter Count: 4Parameter Bindings

def [[#variable2e56ffa0]](self,handle):
   [[#variable2e56fa80]]
  nodes = self. [[#variable4f96d900]].values( ) 
  # We order nodes to ease comparison with original file
  nodes.sort( lambda n1,n2:cmp(n1.sunid,n2.sunid)) 
  for n in nodes:
  
    handle.write(str(n. [[#variable174c4060]]( ))) 
  
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2e56ffa0]]
write_cla 
12[[#2e56ffa0]]
write_hie 
21[[#2e56fa80]]
"Build a CLA SCOP parsable file from this object" 
22[[#2e56fa80]]
"Build an HIE SCOP parsable file from this object" 
31[[#4f96d900]]
_sidDict 
32[[#4f96d900]]
_sunidDict 
41[[#174c4060]]
toClaRecord 
42[[#174c4060]]
toHieRecord