mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 11:07:15 +00:00
removing voluminous, unneeded debug printout
This commit is contained in:
@@ -26,8 +26,6 @@ todo = """
|
|||||||
easier to understand and maintain
|
easier to understand and maintain
|
||||||
https://mathspp.com/blog/til/re-match-groupdict
|
https://mathspp.com/blog/til/re-match-groupdict
|
||||||
|
|
||||||
- replace hard-coded instuments list with reading an editable textfile in expoweb.
|
|
||||||
|
|
||||||
- Obscure bug in the *team inheritance and rootblock initialization needs tracking down,
|
- Obscure bug in the *team inheritance and rootblock initialization needs tracking down,
|
||||||
probably in the team cache which should NOT be global, but should be an instance variable of
|
probably in the team cache which should NOT be global, but should be an instance variable of
|
||||||
LoadingSurvex
|
LoadingSurvex
|
||||||
@@ -737,7 +735,6 @@ class LoadingSurvex:
|
|||||||
splayalias = re.match(r"(?i)\s*station\s*\-\s*\.\.\s*$", line)
|
splayalias = re.match(r"(?i)\s*station\s*\-\s*\.\.\s*$", line)
|
||||||
if splayalias:
|
if splayalias:
|
||||||
self.flagsstar["splayalias"] = True
|
self.flagsstar["splayalias"] = True
|
||||||
print(f"==splayalias {line} in {survexblock=} {survexblock.survexfile.path=}")
|
|
||||||
else:
|
else:
|
||||||
message = f"! Bad *ALIAS: '{line}' ({survexblock}) {survexblock.survexfile.path}"
|
message = f"! Bad *ALIAS: '{line}' ({survexblock}) {survexblock.survexfile.path}"
|
||||||
print(self.insp + message)
|
print(self.insp + message)
|
||||||
@@ -1660,7 +1657,7 @@ class LoadingSurvex:
|
|||||||
refline = self.rx_commref.match(comment)
|
refline = self.rx_commref.match(comment)
|
||||||
if refline:
|
if refline:
|
||||||
comment = self.rx_ref2.sub("", comment.strip())
|
comment = self.rx_ref2.sub("", comment.strip())
|
||||||
print(f"{self.depthbegin:2}{depth} - rx_ref2 -- {comment=} in {survexblock.survexfile.path} :: {survexblock}")
|
# print(f"{self.depthbegin:2}{depth} - rx_ref2 -- {comment=} in {survexblock.survexfile.path} :: {survexblock}")
|
||||||
self.LoadSurvexRef(survexblock, comment)
|
self.LoadSurvexRef(survexblock, comment)
|
||||||
|
|
||||||
# handle
|
# handle
|
||||||
@@ -1947,7 +1944,7 @@ class LoadingSurvex:
|
|||||||
message=message,
|
message=message,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
if cmd not in ["equate", "export", "instrument", "calibrate", "cs", "require", "declination", "infer", "case"]:
|
if cmd not in ["equate", "export", "instrument", "calibrate", "cs", "require", "declination", "infer", "case", "sd"]:
|
||||||
print(f"FALLTHROUGH *{cmd=} {survexblock=} {survexblock.parent=}")
|
print(f"FALLTHROUGH *{cmd=} {survexblock=} {survexblock.parent=}")
|
||||||
self.LoadSurvexFallThrough(survexblock, args, cmd)
|
self.LoadSurvexFallThrough(survexblock, args, cmd)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user