Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 5 | 0.957 | stmt_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 260 | Bio/SeqFeature.py |
2 | 10 | 277 | Bio/SeqFeature.py |
| ||||
def _get_nofuzzy_start(self): #TODO - Do we still use the BetweenPosition class? if ((self._start==self._end) and isinstance(self._start,BetweenPosition)): return self._start.position else: return min(self._start.position,self._start.position+self._start.extension) nofuzzy_start = property(fget = _get_nofuzzy_start,doc = """Start position (integer, approximated if fuzzy, read only). To get non-fuzzy attributes (ie. the position only) ask for 'location.nofuzzy_start', 'location.nofuzzy_end'. These should return the largest range of the fuzzy position. So something like: (10.20)..(30.40) should return 10 for start, and 40 for end. """ ) |
| ||||
def _get_nofuzzy_end(self): #TODO - Do we still use the BetweenPosition class? if ((self._start==self._end) and isinstance(self._start,BetweenPosition)): return self._end.position else: return max(self._end.position,self._end.position+self._end.extension) nofuzzy_end = property(fget = _get_nofuzzy_end,doc = """End position (integer, approximated if fuzzy, read only). To get non-fuzzy attributes (ie. the position only) ask for 'location.nofuzzy_start', 'location.nofuzzy_end'. These should return the largest range of the fuzzy position. So something like: (10.20)..(30.40) should return 10 for start, and 40 for end. """ ) |
| |||
def [[#variable1781a260]](self): #TODO - Do we still use the BetweenPosition class? if ((self._start==self._end) and isinstance(self._start,BetweenPosition)): return self. [[#variable1781a100]].position else: return [[#variable1781a140]](self. [[#variable1781a100]].position,self. [[#variable1781a100]].position+self. [[#variable1781a100]].extension) [[#variable1a3df240]]= property(fget = [[#variable1781a260]],doc = [[#variable1781a1a0]]) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1781a260]] | _get_nofuzzy_start |
1 | 2 | [[#1781a260]] | _get_nofuzzy_end |
2 | 1 | [[#1781a100]] | _start |
2 | 2 | [[#1781a100]] | _end |
3 | 1 | [[#1781a140]] | min |
3 | 2 | [[#1781a140]] | max |
4 | 1 | [[#1a3df240]] | nofuzzy_start |
4 | 2 | [[#1a3df240]] | nofuzzy_end |
5 | 1 | [[#1781a1a0]] | """Start position (integer, approximated if fuzzy, read only). To get non-fuzzy attributes (ie. the position only) ask for 'location.nofuzzy_start', 'location.nofuzzy_end'. These should return the largest range of the fuzzy position. So something like: (10.20)..(30.40) should return 10 for start, and 40 for end. """ |
5 | 2 | [[#1781a1a0]] | """End position (integer, approximated if fuzzy, read only). To get non-fuzzy attributes (ie. the position only) ask for 'location.nofuzzy_start', 'location.nofuzzy_end'. These should return the largest range of the fuzzy position. So something like: (10.20)..(30.40) should return 10 for start, and 40 for end. """ |