From 7e599afd40095b7a5dae6c1e45cafbcb3d8f78f2 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 1 Nov 2025 00:22:56 +0200 Subject: [PATCH] something --- parsers/survex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers/survex.py b/parsers/survex.py index c10524712..fba17e069 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -290,7 +290,7 @@ class LoadingSurvex: rx_person = re.compile(r"(?i) and |/| / |, | , |&| & | \+ |^both$|^none$") rx_tapelng = re.compile(r"(?i).*(tape|length).*$") # normal tape - rx_cartlng = re.compile(r"(?i).*([-+]?\d*\.\d+)") # cartesian units and scale + rx_cartlng = re.compile(r"(?i).*([-+]?\d+\.\d+)") # cartesian units and scale rx_cave = re.compile(r"(?i)caves-(\d\d\d\d)/([-\d\w]+|\d\d\d\d-?\w+-\d+)") rx_comment = re.compile(r"([^;]*?)\s*(?:;\s*(.*))?\n?$") @@ -797,7 +797,7 @@ class LoadingSurvex: return scale = self.rx_cartlng.match(line) if scale: - message = f"! *UNITS SCALE '{line}' ({survexblock}) {survexblock.survexfile.path} {len(scale.groups())} {scale.groups()[0]=}" + message = f"✓ *UNITS SCALE '{line}' ({survexblock}) {survexblock.survexfile.path} {len(scale.groups())} {scale.groups()[0]=}" print(self.insp + message) stash_data_issue(parser="survexunits", message=message, url=None, sb=(survexblock.survexfile.path)) self.unitsfactor = float(scale.groups()[0])