mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-19 07:47:10 +00:00
stop verbose warnings, change colour on cave names
This commit is contained in:
@@ -1654,15 +1654,14 @@ class LoadingSurvex:
|
||||
|
||||
This _should_ also check that the first QM survey point exists in the block in this survex file.
|
||||
"""
|
||||
message = f' ! QM "{survexblock.survexfile.path}" line:{comment} {qml=}'
|
||||
print(message, file=sys.stderr)
|
||||
qml = self.rx_qm_digit.match(comment) # checks for valid QM digit(s)
|
||||
if not qml:
|
||||
message = f' ! QM Unrecognised QM number in "{survexblock.survexfile.path}" line:{comment}'
|
||||
print(message)
|
||||
stash_data_issue(
|
||||
parser="survex", message=message, url=None, sb=(survexblock.survexfile.path)
|
||||
)
|
||||
if not comment.startswith("QM doesn't go anywhere"):
|
||||
message = f' ! QM Unrecognised QM number in "{survexblock.survexfile.path}" line:{comment}'
|
||||
print(message)
|
||||
stash_data_issue(
|
||||
parser="survex", message=message, url=None, sb=(survexblock.survexfile.path)
|
||||
)
|
||||
return False
|
||||
qmline = self.rx_qm.match(comment)
|
||||
if qmline:
|
||||
|
||||
Reference in New Issue
Block a user