piratical / Madeline_2.0_PDE

The Madeline 2.0 Pedigree Drawing Engine (PDE) is a pedigree drawing program designed to handle large and complex pedigrees with an emphasis on readability and aesthetics. The program was designed primarily for human pedigrees.
GNU General Public License v2.0
19 stars 18 forks source link

Mother-son matings #48

Closed andersonwinkler closed 2 years ago

andersonwinkler commented 2 years ago

Thank you for this wonderful program. Mother-son and father-daughter relationships are rare among humans but not so among animals and plants. Mythology is full of these cases too (I know, it'd be an unintended use of the program). Still, any chance such cases of inbreeding could become available? Consider this famous and relatively simple pedigree:

FamilyId IndividualId Gender Father Mother
1 Oedipus M Laius Jocasta
1 Polyneices M Oedipus Jocasta
1 Eteocles M Oedipus Jocasta
1 Ismene F Oedipus Jocasta
1 Antigone F Oedipus Jocasta

If we try to run, we receive:

Unrecoverable Error: Individual::addSpouse(): Oedipus's spouse Jocasta is also his mother: Program currently cannot handle mother-son matings.
terminate called after throwing an instance of 'Exception'
Aborted (core dumped)

Thanks!

piratical commented 2 years ago

Unfortunately I am busy on other projects at the moment. I had considered these issues sufficiently to produce the coherent error messages which you saw, but it seems like actually solving the issues will require a lot of work, which at the moment I don't have time to do.

You are of course welcome to dig into the code and propose solutions if you want to.

Best Wishes -- Ed Trager

El El mar, dic. 28, 2021 a la(s) 9:47 a.m., A. M. Winkler < @.***> escribió:

Thank you for this wonderful program. Mother-son and father-daughter relationships are rare among humans but not so among animals and plants. Mythology is full of these cases too (I know, it'd be an unintended use of the program). Still, any chance such cases of inbreeding could become available? Consider this famous and relatively simple pedigree: FamilyId IndividualId Gender Father Mother 1 Oedipus M Laius Jocasta 1 Polyneices M Oedipus Jocasta 1 Eteocles M Oedipus Jocasta 1 Ismene F Oedipus Jocasta 1 Antigone F Oedipus Jocasta

If we try to run, we receive:

Unrecoverable Error: Individual::addSpouse(): Oedipus's spouse Jocasta is also his mother: Program currently cannot handle mother-son matings. terminate called after throwing an instance of 'Exception' Aborted (core dumped)

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/piratical/Madeline_2.0_PDE/issues/48, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADPQPTEVWZTCYVZZDYTGQKLUTHEYPANCNFSM5K4ITUQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

andersonwinkler commented 2 years ago

Dear Ed, Thank you for the feedback. It doesn't seem straightforward -- needs familiarity with the code. I appreciate nonetheless. All the best, Anderson