(self)
return ret
Return a string representation of the allele
Return a string representation of the allele
Return a string representation of the allele
def __repr__(self):
      """ Return a string representation of the allele """
      ret = "- GAlleleRange\n"
      ret += "\tReal:\t\t %s\n" % (self.real,)
      ret += "\tRanges Count:\t %s\n" % (len(self),)
      ret += "\tRange List:\n"
      for beg, end in self.beginEnd:
         ret += "\t\t\t Range from [%s] to [%s]\n" % (beg, end)
      ret += "\n"
      return ret
def __repr__ ( self ) : ret = "- GAlleleRange\n" ret += "\tReal:\t\t %s\n" % ( self . real , ) ret += "\tRanges Count:\t %s\n" % ( len ( self ) , ) ret += "\tRange List:\n" for beg , end in self . beginEnd : ret += "\t\t\t Range from [%s] to [%s]\n" % ( beg , end ) ret += "\n" return ret