def createGeno(self, key): geno = Genotype() geno._genotype_key = key geno.mp_annots = [] return geno