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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user