From 484698e5657aef1dbfc2e5cf4d847479e91033bd Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 18 Dec 2025 12:07:25 +0000 Subject: [PATCH] postition != GPS in survex --- parsers/survex.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/parsers/survex.py b/parsers/survex.py index 7cd430d..46f4e7b 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -275,11 +275,12 @@ class LoadingSurvex: # this extensive list of expo roles are now (after 24/2/2025) just comments and not legal survex code. # all now irrelevant as Olly restricted the list and survex now notices this. - # but troggle still complains, and can fail to recognise a person, if the role is not in this list: + # but troggle still complains, and can fail to recognise a person, if the role is not in this list. + # 'position' added to match survex 1.4.17 in 2025 roles = "(assistant|bitch|bodger|bolt|bolter|bolting|book|clino|comp|compass|consultant|disto|distox|distox2|" roles += "dog|dogsbody|drawing|drill|gps|helper|inst|instr|instrument|length|monkey|nagging|nail|" roles += "nail_polish|nail_polish_bitch|nail_polish_monkey|nail_varnish|nail_varnish_bitch|note|notebook|" - roles += "paint|photo|pic|pictures|point|polish|powerdrill|rig|rigger|rigging|SAP|shoot|sketch|slacker|explorer|" + roles += "paint|photo|pic|pictures|point|polish|position|powerdrill|rig|rigger|rigging|SAP|shoot|sketch|slacker|explorer|" roles += "something|station|surface|tape|topodroid|unknown|useless|varnish|waiting_patiently)" #rx_teammem = re.compile(r"(?i)" + roles + r"?(?:es|s)?\s+(.*)$") no longer legal survex ordering