2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-17 10:17:19 +00:00

update template to standard survex 2025 syntax for *team

This commit is contained in:
2025-03-11 17:00:23 +00:00
parent 9a4916cc58
commit 2b010384f1

View File

@@ -63,11 +63,11 @@ survextemplatefile = """; *** THIS IS A TEMPLATE FILE - NOT WHAT YOU MIGHT BE EX
; Area in cave/QM:
*title ""
*date [2040.07.04] ; <-- CHANGE THIS DATE
*team Insts [Fred Fossa]
*team Notes [Brenda Badger]
*team Pics [Luke Lynx]
*team Tape [Albert Aadvark]
*instrument [SAP #+Laser Tape/DistoX/Compass # ; Clino #]
*team ["Albert Aadvark"] Tape ; <-- CHANGE THE NAMES, in quotes if more than one word
*team [Badger] Notes
*team ["Fred Fossa"] insts
*team [Grumpy] Pics
instrument [SAP #+Laser Tape/DistoX/Compass # ; Clino #]
; Calibration: [Where, readings]
*ref [2040#00] ; <-- CHANGE THIS TOO
; the #number is on the clear pocket containing the original notes
@@ -496,7 +496,8 @@ def process(survex_file):
os.system(settings.CAVERN + " --log " + str(filepathsvx))
os.chdir(cwd)
# Update this to use the new syntax..
# Update this to use the new syntax.. NOT os.system()
# sp = subprocess.run([settings.CAVERN, "--log", f'--output={outputdir}', f'{fullpath}.svx'],
# capture_output=True, check=False, text=True)
# if sp.returncode != 0: