Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 2 | 0.992 | stmt_list[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 232 | BioSQL/BioSeqDatabase.py |
2 | 10 | 246 | BioSQL/BioSeqDatabase.py |
3 | 10 | 277 | 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] |
| ||||
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] |
| ||||
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] |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7810ba20]] | "Cannot find display id %r" |
1 | 2 | [[#7810ba20]] | "Cannot find accession %r" |
1 | 3 | [[#7810ba20]] | "Cannot find version %r" |
2 | 1 | [[#78ad53a0]] | "More than one entry with display id %r" |
2 | 2 | [[#78ad53a0]] | "More than one entry with accession %r" |
2 | 3 | [[#78ad53a0]] | "More than one entry with version %r" |