def __init__(self, template=None, label=None, replications=1000, only=None, linkeq=True): Simulation.__init__(self, template=template, label=label, replications=replications, only=only) for ind in self.template.individuals: if ind.is_founder(): continue if not (ind.father.is_founder() or ind.mother.is_founder()): raise ValueError("ConstrainedMendelian only available" "for outbred pedigrees")
def __init__(self, template=None, replications=1000): Simulation.__init__(self, template, replications) self.genedrop_attempts = 1000