(self)
return len(self.allele_list)
Returns the length of the alleles list
Returns the length of the alleles list
Returns the length of the alleles list
def __len__(self):
      """ Returns the length of the alleles list """
      if self.homogeneous:
         return 1
      return len(self.allele_list)
def __len__ ( self ) : if self . homogeneous : return 1 return len ( self . allele_list )