From 2b010384f1fffa5b32395f201d5ff47c3547bea4 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 11 Mar 2025 17:00:23 +0000 Subject: update template to standard survex 2025 syntax for *team --- core/views/survex.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/core/views/survex.py b/core/views/survex.py index ccf1bd0..fe95825 100644 --- a/core/views/survex.py +++ b/core/views/survex.py @@ -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: -- cgit v1.2.3