(self, allele_list=None, homogeneous=False)
The constructor of GAlleles class
The constructor of GAlleles class
The constructor of GAlleles class
def __init__(self, allele_list=None, homogeneous=False):
      """ The constructor of GAlleles class """
      self.allele_list = []
      if allele_list is not None:
         self.allele_list.extend(allele_list)
      self.homogeneous = homogeneous
def __init__ ( self , allele_list = None , homogeneous = False ) : self . allele_list = [ ] if allele_list is not None : self . allele_list . extend ( allele_list ) self . homogeneous = homogeneous