def get_lice_treatment_mortality_rate(self, lice_population: LicePopulation, _temperature=None):
    susceptible_populations = [lice_population.geno_by_lifestage[stage] for stage in LicePopulation.susceptible_stages]
    num_susc_per_geno = GenoDistrib.batch_sum(susceptible_populations)
    geno_treatment_distrib = {geno: GenoTreatmentValue(0.0, 0) for geno in num_susc_per_geno}
    for (geno, num_susc) in num_susc_per_geno.items():
        trait = self.get_allele_heterozygous_trait(geno)
        susceptibility_factor = (1.0 - self.pheno_resistance[trait])
        geno_treatment_distrib[geno] = GenoTreatmentValue(susceptibility_factor, cast(int, num_susc))
    return geno_treatment_distrib
def get_lice_treatment_mortality_rate(self, lice_population: LicePopulation, _temperature=None):
    susceptible_populations = [lice_population.geno_by_lifestage[stage] for stage in LicePopulation.susceptible_stages]
    num_susc_per_geno = GenoDistrib.batch_sum(susceptible_populations)
    geno_treatment_distrib = {geno: GenoTreatmentValue(0.0, 0) for geno in num_susc_per_geno}
    for (geno, num_susc) in num_susc_per_geno.items():
        trait = self.get_allele_heterozygous_trait(geno)
        susceptibility_factor = (1.0 - self.pheno_resistance[trait])
        geno_treatment_distrib[geno] = GenoTreatmentValue(susceptibility_factor, cast(int, num_susc))
    return geno_treatment_distrib