Add get_fs_id() to Individual to extract the _FSFTID tag (returns empty string if missing). Update MarkdownGenerator to include a "FamilySearch ID" line in output when present. Update test fixtures and add assertions: include _FSFTID in sample GEDCOM, add unit test for get_fs_id (presence and absence), and check the generated markdown contains the FamilySearch ID. Ensures FS Tree IDs are surfaced without breaking behavior when tag is absent.
Rename returned long variable to lon and tighten lat/long extraction to avoid recursing into LATI/LONG leaf nodes and to return early when both values are found. Refactor MarkdownGenerator._coordinate_values and change output logic so coordinates are written even when place fields are empty (birth, death, marriage, and events). Update and reorganize tests to match the corrected behavior and improve stability (use next() instead of list indexing, consolidate fixtures, adjust assertions and quoting).
Cache the subject pointer in Individual.get_families by calling self.element.get_pointer() once outside the loop to avoid repeated calls and add a clarifying comment. Clean up tests: remove a duplicated TestIndividualBasicInfo fixture/block comment, drop redundant assertions about residence coordinates, and remove an unnecessary return in TestAttributes.
Addresses potential test failures on Windows due to locked files during temporary directory cleanup.
Implements `ignore_errors=True` when removing temporary directories to prevent `shutil.rmtree` from failing when files are still locked by the process.
Improves the individual filename generation logic to include the birth year if available, providing more informative filenames.
Also updates the logging setup to use WARNING level for the root logger and INFO for the main module, and modifies the markdown generator to use YAML frontmatter for metadata.
Refactors code for clarity and conciseness by removing unused variables.
Improves error handling by logging only the necessary information,
making debugging easier.
Extracts and includes the death year from the death date in individual data.
Adds a flag to control subdirectory usage for generated files.
This ensures correct linking and image paths in notes when using a
subdirectory structure (people/, stories/, media/).
Also, improves error logging during note generation.
Simplifies Individual class initialization by directly passing the parser instance instead of the GedcomParser object.
This change streamlines the code and avoids unnecessary object attribute access.
Also, it ensures name formatting preserves the original capitalization.
Updates test to ignore the unused `media_dir` variable
returned by `extract_gedzip`. This prevents linting warnings
without changing the functionality of the test.
Improves media file import process with:
- Recursive directory structure preservation
- Case-insensitive extension filtering
- Collision handling with unique filename generation
- Error logging for copy failures
Adds comprehensive test cases to validate new media file copying behavior
Improves media file search across nested directories by:
- Using rglob for recursive media file discovery
- Supporting more file extensions (including uppercase variants)
- Logging media file locations with greater detail
Enables finding media files in complex directory structures with multiple subdirectories
Fixes death year extraction using regex to correctly parse years
Removes manual sys.path modifications in test files
Adds pythonpath configuration to pytest.ini for simpler imports
Enhances test coverage for life span formatting
Sets up core functionality for converting genealogy GEDCOM files to Obsidian markdown notes
Implements key components:
- GEDCOM parsing and individual data extraction
- Markdown note generation with rich metadata
- Index file creation
- Comprehensive test suite for robust functionality
Adds initial project structure, configuration, and essential modules for genealogy data conversion