2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 05:55:06 +00:00

3dtopos to survexpos + comments

This commit is contained in:
Philip Sargent
2020-07-20 22:53:26 +01:00
parent 8e77a70ad6
commit f131509c56
9 changed files with 578 additions and 30 deletions

View File

@@ -1165,6 +1165,9 @@ def FindAndLoadSurvex(survexblockroot):
svx_load.survexdict[survexfileroot.survexdirectory] = []
svx_load.survexdict[survexfileroot.survexdirectory].append(survexfileroot)
svx_load.svxdirs[""] = survexfileroot.survexdirectory
# This next should be rewritten to use a generator so that only one
# line is held in memory at a time:
with open(collatefilename, "r") as fcollate:
svxlines = fcollate.read().splitlines()
#----------------------------------------------------------------