CloneSet254


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.979compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110480
BioSQL/BioSeqDatabase.py
211497
BioSQL/Loader.py
Clone Instance
1
Line Count
10
Source Line
480
Source File
BioSQL/BioSeqDatabase.py

                if cur_record.id.count(".")==1:  
                    accession,version =  cur_record.id.split(".") 
                    try : 
                         version = int(version) 
                    except ValueError: 
                        accession = cur_record.id 
                        version = 0 
                    
                else: 
                     accession = cur_record.id 
                     version = 0 


Clone Instance
2
Line Count
11
Source Line
497
Source File
BioSQL/Loader.py

        # get the pertinent info and insert it

        if record.id.count(".")==1:   # try to get a version from the id
            #This assumes the string is something like "XXXXXXXX.123"
            accession,version =  record.id.split(".") 
            try : 
                 version = int(version) 
            except ValueError: 
                accession = record.id 
                version = 0 
            
        else: # otherwise just use a version of 0
            accession = record.id 
            version = 0 


Clone AbstractionParameter Count: 1Parameter Bindings

# get the pertinent info and insert it
if [[#variable71a7ba40]].id.count(".")==1: # try to get a version from the id
  #This assumes the string is something like "XXXXXXXX.123"
  accession,version = [[#variable71a7ba40]].id.split(".") 
  try :
  
    version = int(version) 
  except ValueError:
  
    accession = [[#variable71a7ba40]].id 
    version = 0 
  
else: # otherwise just use a version of 0
  accession = [[#variable71a7ba40]].id 
  version = 0 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#71a7ba40]]
cur_record 
12[[#71a7ba40]]
record