2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 06:08:21 +00:00

fixed survey station casesensitivity

This commit is contained in:
2025-07-20 16:57:58 +02:00
parent 5770a9b2e7
commit 29840aabff
3 changed files with 101 additions and 92 deletions

View File

@@ -2272,17 +2272,17 @@ def FindAndLoadSurvex():
# In fact we always want to run this, and the location stuff later needs the .pos file
# so we should not be using the RunSurvexIfNeeded function.
print(f" - Running cavern on '{fullpathtotop}'", file=sys.stderr)
print(f" - Running cavern on fullpathtotop : '{fullpathtotop}'", file=sys.stderr)
logpath = Path(fullpathtotop + ".log")
try:
print(
f" - Regenerating cavern .pos .log and .3d for '{fullpathtotop}'\n at '{logpath}'\n"
f" - Regenerating cavern .log and .3d for '{fullpathtotop}'\n at '{logpath}'\n"
)
outputdir = Path(str(f"{fullpathtotop}.svx")).parent
sp = subprocess.run(
[settings.CAVERN, "--log", "--pos", f"--output={outputdir}", f"{fullpathtotop}.svx"],
[settings.CAVERN, "--log", f"--output={outputdir}", f"{fullpathtotop}.svx"],
capture_output=True,
check=False,
text=True,