| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 3 | 0.977 | compound_stmt |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 200 | Bio/GenBank/LocationParser.py |
| 2 | 8 | 209 | Bio/GenBank/LocationParser.py |
| ||||
def p_path(self,args):
"""
path ::= database double_colon primary_accession
path ::= primary_accession
"""
if len(args)==3:
return Path(args[0],args[2])
return Path(None,args[0])
|
| ||||
def p_feature_name(self,args):
"""
feature_name ::= path colon feature_label
feature_name ::= feature_label
"""
if len(args)==3:
return FeatureName(args[0],args[2])
return FeatureName(None,args[0])
|
| |||
def [[#variable77503c20]](self,args):
[[#variable77503ba0]]
if len(args)==3:
return [[#variable77503b00]](args[0],args[2])
return [[#variable77503b00]](None,args[0])
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#77503c20]] | p_feature_name |
| 1 | 2 | [[#77503c20]] | p_path |
| 2 | 1 | [[#77503ba0]] | """
feature_name ::= path colon feature_label
feature_name ::= feature_label
""" |
| 2 | 2 | [[#77503ba0]] | """
path ::= database double_colon primary_accession
path ::= primary_accession
""" |
| 3 | 1 | [[#77503b00]] | FeatureName |
| 3 | 2 | [[#77503b00]] | Path |