From 2071c01317b6aad2f55d88dae77ae4b39fb2f553 Mon Sep 17 00:00:00 2001 From: Jared Howland Date: Thu, 16 Apr 2026 23:07:13 -0600 Subject: [PATCH] fix: clarify parent GEDCOM pointer format Update docstring in src/individual.py to specify that the `father` and `mother` fields are GEDCOM pointers including the surrounding '@' characters (e.g. '@I1@', '@I2@'), removing ambiguity about the expected identifier format. --- src/individual.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/individual.py b/src/individual.py index 746a0d1..adf2a53 100644 --- a/src/individual.py +++ b/src/individual.py @@ -253,8 +253,8 @@ class Individual: Returns: List of dictionaries with family information including: - - father: str (father's GEDCOM ID) or None - - mother: str (mother's GEDCOM ID) or None + - father: str (father's GEDCOM pointer, including surrounding '@' characters, e.g. '@I1@') or None + - mother: str (mother's GEDCOM pointer, including surrounding '@' characters, e.g. '@I2@') or None """ families = [] self_pointer = self.element.get_pointer()