summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-03-11 17:00:23 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-03-11 17:00:23 +0000
commit2b010384f1fffa5b32395f201d5ff47c3547bea4 (patch)
tree8fd7c97815f8eb8fc069aa9cfba615c9868d70ee
parent9a4916cc58919b54006bc0866cb551a8761dfce8 (diff)
downloadtroggle-2b010384f1fffa5b32395f201d5ff47c3547bea4.tar.gz
troggle-2b010384f1fffa5b32395f201d5ff47c3547bea4.tar.bz2
troggle-2b010384f1fffa5b32395f201d5ff47c3547bea4.zip
update template to standard survex 2025 syntax for *team
-rw-r--r--core/views/survex.py13
1 files 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: