CloneSet338


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9250.953compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19979
BioSQL/Loader.py
291030
BioSQL/Loader.py
Clone Instance
1
Line Count
9
Source Line
979
Source File
BioSQL/Loader.py

    def _add_seqfeature_dbxref(self,seqfeature_id,dbxref_id,rank):   
        """ Insert a seqfeature_dbxref row and return the seqfeature_id and
            dbxref_id
        """ 
        sql = "INSERT INTO seqfeature_dbxref "
              "(seqfeature_id, dbxref_id, rank) VALUES"
              "(%s, %s, %s)" 
        self.adaptor.execute(sql,(seqfeature_id,dbxref_id,rank)) 
        return (seqfeature_id,dbxref_id) 


Clone Instance
2
Line Count
9
Source Line
1030
Source File
BioSQL/Loader.py

    def _add_bioentry_dbxref(self,bioentry_id,dbxref_id,rank):   
        """ Insert a bioentry_dbxref row and return the seqfeature_id and
            dbxref_id
        """ 
        sql = "INSERT INTO bioentry_dbxref "
              "(bioentry_id,dbxref_id,rank) VALUES "
              "(%s, %s, %s)" 
        self.adaptor.execute(sql,(bioentry_id,dbxref_id,rank)) 
        return (bioentry_id,dbxref_id) 


Clone AbstractionParameter Count: 5Parameter Bindings

def [[#variable7c3767c0]](self, [[#variable7c376740]],dbxref_id,rank):
   [[#variable7c3766a0]]
  sql = [[#variable7c376620]] [[#variable7c376520]]"(%s, %s, %s)" 
  self.adaptor.execute(sql,( [[#variable7c376740]],dbxref_id,rank)) 
  return ( [[#variable7c376740]],dbxref_id) 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7c3767c0]]
_add_bioentry_dbxref 
12[[#7c3767c0]]
_add_seqfeature_dbxref 
21[[#7c376740]]
bioentry_id 
22[[#7c376740]]
seqfeature_id 
31[[#7c3766a0]]
""" Insert a bioentry_dbxref row and return the seqfeature_id and
            dbxref_id
        """ 
32[[#7c3766a0]]
""" Insert a seqfeature_dbxref row and return the seqfeature_id and
            dbxref_id
        """ 
41[[#7c376620]]
"INSERT INTO bioentry_dbxref " 
42[[#7c376620]]
"INSERT INTO seqfeature_dbxref " 
51[[#7c376520]]
"(bioentry_id,dbxref_id,rank) VALUES " 
52[[#7c376520]]
"(seqfeature_id, dbxref_id, rank) VALUES"