mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 11:47:08 +00:00
update template to standard survex 2025 syntax for *team
This commit is contained in:
@@ -63,11 +63,11 @@ survextemplatefile = """; *** THIS IS A TEMPLATE FILE - NOT WHAT YOU MIGHT BE EX
|
|||||||
; Area in cave/QM:
|
; Area in cave/QM:
|
||||||
*title ""
|
*title ""
|
||||||
*date [2040.07.04] ; <-- CHANGE THIS DATE
|
*date [2040.07.04] ; <-- CHANGE THIS DATE
|
||||||
*team Insts [Fred Fossa]
|
*team ["Albert Aadvark"] Tape ; <-- CHANGE THE NAMES, in quotes if more than one word
|
||||||
*team Notes [Brenda Badger]
|
*team [Badger] Notes
|
||||||
*team Pics [Luke Lynx]
|
*team ["Fred Fossa"] insts
|
||||||
*team Tape [Albert Aadvark]
|
*team [Grumpy] Pics
|
||||||
*instrument [SAP #+Laser Tape/DistoX/Compass # ; Clino #]
|
instrument [SAP #+Laser Tape/DistoX/Compass # ; Clino #]
|
||||||
; Calibration: [Where, readings]
|
; Calibration: [Where, readings]
|
||||||
*ref [2040#00] ; <-- CHANGE THIS TOO
|
*ref [2040#00] ; <-- CHANGE THIS TOO
|
||||||
; the #number is on the clear pocket containing the original notes
|
; 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.system(settings.CAVERN + " --log " + str(filepathsvx))
|
||||||
os.chdir(cwd)
|
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'],
|
# sp = subprocess.run([settings.CAVERN, "--log", f'--output={outputdir}', f'{fullpath}.svx'],
|
||||||
# capture_output=True, check=False, text=True)
|
# capture_output=True, check=False, text=True)
|
||||||
# if sp.returncode != 0:
|
# if sp.returncode != 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user