Closed ivan-krukov closed 4 years ago
Resolved by implementing Pedigree.simulate_from_founders_with_sex
in 21d5690d6b786f375774997277e0971a28434f79. I think this should be equivalent with the old simulate_from_founders
, but I keep two versions for now.
Pedigree.simulate_from_founders()
should assign sex to each individual. This is necessary forPedigree.to_table()
to work correctly, as it relies on thesex
parameter for each node to put the ID into themother
orfather
column.