summaryrefslogtreecommitdiffstats
path: root/databaseReset.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-06-15 03:28:51 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2020-06-15 03:28:51 +0100
commit453af2851b72e495733f023fe443e368017c8452 (patch)
tree5902eda1787ecf2a4327b8237ed0d85001012041 /databaseReset.py
parent30e560d808bf149eee6f932195925d282241b3b3 (diff)
downloadtroggle-453af2851b72e495733f023fe443e368017c8452.tar.gz
troggle-453af2851b72e495733f023fe443e368017c8452.tar.bz2
troggle-453af2851b72e495733f023fe443e368017c8452.zip
Stop storing all SurvexStations
Diffstat (limited to 'databaseReset.py')
-rw-r--r--databaseReset.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/databaseReset.py b/databaseReset.py
index a09a3d5..16e4235 100644
--- a/databaseReset.py
+++ b/databaseReset.py
@@ -179,6 +179,7 @@ def import_survexblks():
troggle.parsers.survex.LoadAllSurvexBlocks()
def import_survexpos():
+ import troggle.parsers.survex
print("Importing Survex x/y/z Positions")
troggle.parsers.survex.LoadPos()
@@ -432,7 +433,7 @@ def usage():
QMs - read in the QM csv files (older caves only)
scans - the survey scans in all the wallets (must run before survex)
survex - read in the survex files - all the survex blocks but not the x/y/z positions
- survexpos - just the x/y/z Pos out of the survex files (not needed) -- Never used.
+ survexpos - set the x/y/z positions for entrances and fixed points
tunnel - read in the Tunnel files - which scans the survey scans too
@@ -493,7 +494,7 @@ if __name__ == "__main__":
jq.enq("QMs",import_QMs)
jq.enq("tunnel",import_tunnelfiles)
jq.enq("survexblks",import_survexblks)
- #jq.enq("survexpos",import_survexpos)
+ jq.enq("survexpos",import_survexpos)
elif "scans" in sys.argv:
jq.enq("scans",import_surveyscans)
elif "survex" in sys.argv: