Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
24 | 3 | 3 | 0.950 | stmt_list |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 22 | 323 | Bio/SeqFeature.py |
2 | 24 | 383 | Bio/SeqFeature.py |
3 | 24 | 409 | Bio/SeqFeature.py |
| ||||
"""Specify the specific position of a boundary. o position - The position of the boundary. o extension - An optional argument which must be zero since we don't have an extension. The argument is provided so that the same number of arguments can be passed to all position types. In this case, there is no fuzziness associated with the position. """ def __init__(self,position,extension = 0): if extension!=0: raise AttributeError("Non-zero extension %s for exact position."%extension) AbstractPosition.__init__(self,position,0) def __repr__(self): "String representation of the ExactPosition location for debugging." assert self.extension==0 return "%s(%s)"%(self.__class__.__name__,repr(self.position)) def __str__(self): return str(self.position) |
| ||||
"""Specify a position where the actual location occurs before it. Arguments: o position - The upper boundary of where the location can occur. o extension - An optional argument which must be zero since we don't have an extension. The argument is provided so that the same number of arguments can be passed to all position types. This is used to specify positions like (<10..100) where the location occurs somewhere before position 10. """ def __init__(self,position,extension = 0): if extension!=0: raise AttributeError("Non-zero extension %s for exact position."%extension) AbstractPosition.__init__(self,position,0) def __repr__(self): "A string representation of the location for debugging." assert self.extension==0 return "%s(%s)"%(self.__class__.__name__,repr(self.position)) def __str__(self): return "<%s"%self.position |
| ||||
"""Specify a position where the actual location is found after it. Arguments: o position - The lower boundary of where the location can occur. o extension - An optional argument which must be zero since we don't have an extension. The argument is provided so that the same number of arguments can be passed to all position types. This is used to specify positions like (>10..100) where the location occurs somewhere after position 10. """ def __init__(self,position,extension = 0): if extension!=0: raise AttributeError("Non-zero extension %s for exact position."%extension) AbstractPosition.__init__(self,position,0) def __repr__(self): "A string representation of the location for debugging." assert self.extension==0 return "%s(%s)"%(self.__class__.__name__,repr(self.position)) def __str__(self): return ">%s"%self.position |
| |||
[[#variable78abcca0]] def __init__(self,position,extension = 0): if extension!=0: raise AttributeError("Non-zero extension %s for exact position."%extension) AbstractPosition.__init__(self,position,0) def __repr__(self): [[#variable78abcc00]] assert self.extension==0 return "%s(%s)"%(self.__class__.__name__,repr(self.position)) def __str__(self): return [[#variable78abca60]] |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#78abcca0]] | """Specify a position where the actual location is found after it. Arguments: o position - The lower boundary of where the location can occur. o extension - An optional argument which must be zero since we don't have an extension. The argument is provided so that the same number of arguments can be passed to all position types. This is used to specify positions like (>10..100) where the location occurs somewhere after position 10. """ |
1 | 2 | [[#78abcca0]] | """Specify a position where the actual location occurs before it. Arguments: o position - The upper boundary of where the location can occur. o extension - An optional argument which must be zero since we don't have an extension. The argument is provided so that the same number of arguments can be passed to all position types. This is used to specify positions like (<10..100) where the location occurs somewhere before position 10. """ |
1 | 3 | [[#78abcca0]] | """Specify the specific position of a boundary. o position - The position of the boundary. o extension - An optional argument which must be zero since we don't have an extension. The argument is provided so that the same number of arguments can be passed to all position types. In this case, there is no fuzziness associated with the position. """ |
2 | 1 | [[#78abcc00]] | "A string representation of the location for debugging." |
2 | 2 | [[#78abcc00]] | "A string representation of the location for debugging." |
2 | 3 | [[#78abcc00]] | "String representation of the ExactPosition location for debugging." |
3 | 1 | [[#78abca60]] | ">%s"%self.position |
3 | 2 | [[#78abca60]] | "<%s"%self.position |
3 | 3 | [[#78abca60]] | str(self.position) |