Closed thoree closed 4 years ago
Thanks! This error is interesting, and I'm not sure if it can be fixed.
The file specifies that "Missing person" is a parent of "RS31 [Son]", but with no sex information about "Missing person". Hence the program runs into a problem when trying to decide if it is the father or mother.
Note that such "extra" individuals are ok as children, because then the gender info is not needed to create the pedigree.
I'm not really sure how to deal with this, but at least I'll add a more sensible error message.
Ok, I've pushed a partial fix for this, see daecbbf .
The new code uses tries to deduce the sex of "nosex-parents" by looking at spouses, and fails gracefully if unsuccessful.
I think this is the closest we can get to a solution here, but further ideas are welcome. (Closing this now.)
After quite a bit of testing I manage to to find a problem:
Created on 2020-02-12 by the reprex package (v0.3.0)