Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.979 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 480 | BioSQL/BioSeqDatabase.py |
2 | 11 | 497 | BioSQL/Loader.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 |
| ||||
# 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 |
| |||
# 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#71a7ba40]] | cur_record |
1 | 2 | [[#71a7ba40]] | record |