Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 4 | 4 | 0.960 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1162 | Bio/SwissProt/SProt.py |
2 | 6 | 1169 | Bio/SwissProt/SProt.py |
3 | 6 | 1176 | Bio/SwissProt/SProt.py |
4 | 8 | 1183 | Bio/SwissProt/SProt.py |
| ||||
def reference_author(self,line): "RA line, reference author(s)." assert self._current_ref is not None,"RA: missing RN" if self._current_ref.authors: self._current_ref.authors+=" " self._current_ref.authors+=line[5: ].rstrip(""" """ ) |
| ||||
def reference_title(self,line): "RT line, reference title." assert self._current_ref is not None,"RT: missing RN" if self._current_ref.title: self._current_ref.title+=" " self._current_ref.title+=line[5: ].rstrip(""" """ ) |
| ||||
def reference_location(self,line): "RL line, reference 'location' - journal, volume, pages, year." assert self._current_ref is not None,"RL: missing RN" if self._current_ref.journal: self._current_ref.journal+=" " self._current_ref.journal+=line[5: ].rstrip(""" """ ) |
| ||||
def reference_comment(self,line): "RC line, reference comment." assert self._current_ref is not None,"RC: missing RN" #This has a key=value; structure... #Can we do a better job with the current Reference class? if self._current_ref.comment: self._current_ref.comment+=" " self._current_ref.comment+=line[5: ].rstrip(""" """ ) |
| |||
def [[#variable76be28e0]](self,line): [[#variable76be2820]] assert self._current_ref is not None, [[#variable76be27a0]] #This has a key=value; structure... #Can we do a better job with the current Reference class? if self._current_ref. [[#variable76be2700]]: self._current_ref. [[#variable76be2700]]+=" " self._current_ref. [[#variable76be2700]]+=line[5: ].rstrip(""" """ ) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#76be28e0]] | reference_comment |
1 | 2 | [[#76be28e0]] | reference_location |
1 | 3 | [[#76be28e0]] | reference_title |
1 | 4 | [[#76be28e0]] | reference_author |
2 | 1 | [[#76be2820]] | "RC line, reference comment." |
2 | 2 | [[#76be2820]] | "RL line, reference 'location' - journal, volume, pages, year." |
2 | 3 | [[#76be2820]] | "RT line, reference title." |
2 | 4 | [[#76be2820]] | "RA line, reference author(s)." |
3 | 1 | [[#76be27a0]] | "RC: missing RN" |
3 | 2 | [[#76be27a0]] | "RL: missing RN" |
3 | 3 | [[#76be27a0]] | "RT: missing RN" |
3 | 4 | [[#76be27a0]] | "RA: missing RN" |
4 | 1 | [[#76be2700]] | comment |
4 | 2 | [[#76be2700]] | journal |
4 | 3 | [[#76be2700]] | title |
4 | 4 | [[#76be2700]] | authors |