| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 19 | 2 | 2 | 0.980 | stmt_list[7] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 19 | 298 | Bio/SwissProt/__init__.py |
| 2 | 19 | 543 | Bio/SwissProt/SProt.py |
| ||||
uprcols = uprline.split( )
rel_index = -1
for index in range(len(uprcols)):
if uprcols[index].find("REL.")>=0:
rel_index = index
assert rel_index>=0,"Could not find Rel. in DT line: %s"%line
version_index = rel_index+1
# get the version information
str_version = cols[version_index].rstrip(",")
# no version number
if str_version=="":
version = 0
# dot versioned
elif str_version.find(".")>=0:
version = str_version
# integer versioned
else:
version = int(str_version)
|
| ||||
uprcols = uprline.split( )
rel_index = -1
for index in range(len(uprcols)):
if uprcols[index].find("REL.")>=0:
rel_index = index
assert rel_index>=0,"Could not find Rel. in DT line: %s"%(line)
version_index = rel_index+1
# get the version information
str_version = cols[version_index].rstrip(_CHOMP)
# no version number
if str_version=="":
version = 0
# dot versioned
elif str_version.find(".")>=0:
version = str_version
# integer versioned
else:
version = int(str_version)
|
| |||
uprcols = uprline.split( )
rel_index = -1
for index in range(len(uprcols)):
if uprcols[index].find("REL.")>=0:
rel_index = index
assert rel_index>=0,"Could not find Rel. in DT line: %s"% [[#variable2eca65c0]]
version_index = rel_index+1
# get the version information
str_version = cols[version_index].rstrip( [[#variable2d923a80]])
# no version number
if str_version=="":
version = 0
# dot versioned
elif str_version.find(".")>=0:
version = str_version
# integer versioned
else:
version = int(str_version)
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2eca65c0]] | (line) |
| 1 | 2 | [[#2eca65c0]] | line |
| 2 | 1 | [[#2d923a80]] | _CHOMP |
| 2 | 2 | [[#2d923a80]] | "," |