-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get parents from FAMS in case they're not married #63
base: master
Are you sure you want to change the base?
Conversation
Thanks for the PR. I still need to read the code. Nonetheless, here are my first thoughts. I have always assumed that both FAMS and HUSB/WIFE links are required (also FAMC and CHIL respectively) and if WIFE and HUSB tags are missing, it's a bug in the software that produced the file. Now, looking through the Internet, I see that this may not always be true although most software write bidirectional links. Here is an interesting discussion: https://genealogy.stackexchange.com/questions/12437/gedcom-indi-famc-vs-fam-chil The GEDCOM 5.5.5 specification does not mention both links being required. What's interesting, GEDCOM 7 specs say
so the opposite is required, i.e. If there is a WIFE link, there has to be a FAMS link but not necessarily the other way around. Now, let me look at the code in the PR :-) |
For the record, missing WIFE/HUSB links do not mean that the individuals are not married. To express the type of relationship, one should use the MARR.TYPE field with a value like "not married". See GEDCOM specification (page 59): https://webtrees.net/downloads/gedcom-555.pdf |
Hey mate thanks for the answer, I was really happy to find your repo for my family tree.
Yes indeed, I was thinking the other way around, if parents are not married then I believe WIFE/HUSB links will be missing (i think it was the case for me, I'll double check). I must admit I don't exactly know GEDCOM specs for now, I'm mainly reacting to bugs I saw when trying this beauty. Let me know what you think, in the mean time I'll read more about GEDCOM out of curiosity. |
I gave a bit of thought to this issue. I'm afraid the change in this form could cause performance problems for large GEDCOM files. Notice that each time Here is what I would do instead. I'm assuming your intention is to fix topola-viewer to work with your GEDCOM files. I would leave the topola library unchanged but fix the input that it receives, as you noticed that it could be done in an earlier stage. In particular, there is a function in topola-viewer named |
Fixes issue #62