From 3708d06b34f1be0f7ce9d39ff8993b7760f77bc2 Mon Sep 17 00:00:00 2001 From: Luther Tychonievich Date: Mon, 10 Feb 2025 16:00:58 -0600 Subject: [PATCH] Update how tables with URIs in them are parsed (#590) * Update how tables with URIs in them are parsed Resolves #574 * Add the extracted files this PR changes * Fix over-eager change of tag names to enum-TAG --- build/uri-def.py | 11 ++++++++--- extracted-files/enumerationsets.tsv | 4 ++-- extracted-files/tags/INDI-RELI | 6 ++++++ extracted-files/tags/INDI-TITL | 6 ++++++ extracted-files/tags/RELI | 6 ------ extracted-files/tags/TITL | 6 ------ extracted-files/tags/enumset-EVENATTR | 4 ++-- 7 files changed, 24 insertions(+), 19 deletions(-) diff --git a/build/uri-def.py b/build/uri-def.py index 14b9fad5..ffc1a83d 100644 --- a/build/uri-def.py +++ b/build/uri-def.py @@ -251,7 +251,9 @@ def find_descriptions(txt, g7, ssp): if header.startswith('Fam'): pfx = 'FAM-' if header.startswith('Indi'): pfx = 'INDI-' for tag, name, desc in re.findall(r'`([A-Z_0-9]+)` *\| *([^|\n]*?) *\| *([^|\n]*[^ |\n]) *', table.group(2)): - if '