CloneSet98


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24330.950stmt_list
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
122323
Bio/SeqFeature.py
224383
Bio/SeqFeature.py
324409
Bio/SeqFeature.py
Clone Instance
1
Line Count
22
Source Line
323
Source File
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) 


Clone Instance
2
Line Count
24
Source Line
383
Source File
Bio/SeqFeature.py

    """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 


Clone Instance
3
Line Count
24
Source Line
409
Source File
Bio/SeqFeature.py

    """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 


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#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.
    """ 
12[[#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.
    """ 
13[[#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.
    """ 
21[[#78abcc00]]
"A string representation of the location for debugging." 
22[[#78abcc00]]
"A string representation of the location for debugging." 
23[[#78abcc00]]
"String representation of the ExactPosition location for debugging." 
31[[#78abca60]]
">%s"%self.position 
32[[#78abca60]]
"<%s"%self.position 
33[[#78abca60]]
str(self.position)