| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 4 | 0.978 | compound_stmt |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 297 | Bio/SCOP/__init__.py |
| 2 | 8 | 318 | 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( )))
|
| ||||
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( )))
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2e56ffa0]] | write_cla |
| 1 | 2 | [[#2e56ffa0]] | write_hie |
| 2 | 1 | [[#2e56fa80]] | "Build a CLA SCOP parsable file from this object" |
| 2 | 2 | [[#2e56fa80]] | "Build an HIE SCOP parsable file from this object" |
| 3 | 1 | [[#4f96d900]] | _sidDict |
| 3 | 2 | [[#4f96d900]] | _sunidDict |
| 4 | 1 | [[#174c4060]] | toClaRecord |
| 4 | 2 | [[#174c4060]] | toHieRecord |