CloneSet109


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19220.980stmt_list[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119298
Bio/SwissProt/__init__.py
219543
Bio/SwissProt/SProt.py
Clone Instance
1
Line Count
19
Source Line
298
Source File
Bio/SwissProt/__init__.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) 


Clone Instance
2
Line Count
19
Source Line
543
Source File
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(_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) 


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2eca65c0]]
(line) 
12[[#2eca65c0]]
line 
21[[#2d923a80]]
_CHOMP 
22[[#2d923a80]]
","