2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 18:37:18 +00:00

more QMs parsed correctly

This commit is contained in:
2023-03-18 00:57:40 +00:00
parent 7345e3a328
commit d64948749e
4 changed files with 36 additions and 25 deletions

View File

@@ -1313,7 +1313,7 @@ class LoadingSurvex:
blockname = survexblock.name
else:
blockname = survexblock.name[:6] + survexblock.name[-1:]
# logslug = f'D{int(qmyear)}_{blockname}_{int(qm_no):03d}'
# logslug = f'D{int(qmyear)}_{blockname}_{int(qm_no):03d}'
qm_ticked = False # default
qm_no = qmline.group(1) # this is NOT unique across multiple survex files
@@ -1340,14 +1340,7 @@ class LoadingSurvex:
else:
qm_ticked = True
# print(f"{survexblock.survexfile.cave} {survexblock}:{qm_no}{qm_grade} {qmline.group(4)}", file=sys.stderr)
if resolution_station_name:
qm_ticked = True
# if qmline.group(6) and qmline.group(6) != "-":
# resolution_station_name = qmline.group(6)
# if qmline.group(7):
# resolution_station_name = resolution_station_name + "." + qmline.group(7)
# else:
# resolution_station_name = ""
qm_notes = qmline.group(5)
# qm_notes = qmline.group(8)