CloneSet100


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10320.992stmt_list[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110232
BioSQL/BioSeqDatabase.py
210246
BioSQL/BioSeqDatabase.py
310277
BioSQL/BioSeqDatabase.py
Clone Instance
1
Line Count
10
Source Line
232
Source File
BioSQL/BioSeqDatabase.py

        if dbid: 
             sql+=" and biodatabase_id = %s" 
             fields.append(dbid) 
        self.cursor.execute(sql,fields) 
        rv = self.cursor.fetchall( ) 
        if not rv: 
             raise IndexError("Cannot find display id %r"%name) 
        if len(rv)>1:  
            raise IndexError("More than one entry with display id %r"%name) 
        return rv[0][0] 


Clone Instance
2
Line Count
10
Source Line
246
Source File
BioSQL/BioSeqDatabase.py

        if dbid: 
             sql+=" and biodatabase_id = %s" 
             fields.append(dbid) 
        self.cursor.execute(sql,fields) 
        rv = self.cursor.fetchall( ) 
        if not rv: 
             raise IndexError("Cannot find accession %r"%name) 
        if len(rv)>1:  
            raise IndexError("More than one entry with accession %r"%name) 
        return rv[0][0] 


Clone Instance
3
Line Count
10
Source Line
277
Source File
BioSQL/BioSeqDatabase.py

        if dbid: 
             sql+=" and biodatabase_id = %s" 
             fields.append(dbid) 
        self.cursor.execute(sql,fields) 
        rv = self.cursor.fetchall( ) 
        if not rv: 
             raise IndexError("Cannot find version %r"%name) 
        if len(rv)>1:  
            raise IndexError("More than one entry with version %r"%name) 
        return rv[0][0] 


Clone AbstractionParameter Count: 2Parameter Bindings

if dbid:
  sql+=" and biodatabase_id = %s" 
  fields.append(dbid) 
self.cursor.execute(sql,fields) 
rv = self.cursor.fetchall( ) 
if not rv:
  raise IndexError( [[#variable7810ba20]]%name) 
if len(rv)>1:
  raise IndexError( [[#variable78ad53a0]]%name) 
return rv[0][0] 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7810ba20]]
"Cannot find display id %r" 
12[[#7810ba20]]
"Cannot find accession %r" 
13[[#7810ba20]]
"Cannot find version %r" 
21[[#78ad53a0]]
"More than one entry with display id %r" 
22[[#78ad53a0]]
"More than one entry with accession %r" 
23[[#78ad53a0]]
"More than one entry with version %r"