summaryrefslogtreecommitdiffstats
path: root/databaseReset.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-10-26 18:28:59 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-10-26 18:28:59 +0300
commit87d9804864e157b451c92e6fb71165aa4925cd47 (patch)
tree58c0d8011808d79d3603bca4dee34e9feeb21608 /databaseReset.py
parentf14bd984f88ae4274fbecc690a4a0f0a45210e69 (diff)
downloadtroggle-87d9804864e157b451c92e6fb71165aa4925cd47.tar.gz
troggle-87d9804864e157b451c92e6fb71165aa4925cd47.tar.bz2
troggle-87d9804864e157b451c92e6fb71165aa4925cd47.zip
findng variant data on survexblocks and setting wallet *ref
Diffstat (limited to 'databaseReset.py')
-rw-r--r--databaseReset.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/databaseReset.py b/databaseReset.py
index 1be77c9..ada1c62 100644
--- a/databaseReset.py
+++ b/databaseReset.py
@@ -53,6 +53,7 @@ from troggle.parsers.imports import (
import_people,
import_QMs,
import_survex,
+ import_survex_checks,
import_surveyscans,
)
@@ -395,7 +396,8 @@ def usage():
scans - the survey scans in all the wallets (must run before survex)
drawings - read in the Tunnel & Therion files - which scans the survey scans too
survex - read in the survex files - all the survex blocks and entrances x/y/z
- ents - read just the entrances x/y/z (must run after survex)
+ survex_ck - set caves and people on wallets, check wallets for *ref
+ ents - read just the entrances x/y/z (must run after survex)
dumplogbooks - Not used. write out autologbooks (not working? use http://localhost:8000/controlpanel )
logbook - read a single logbook. Defautl set in python code
@@ -442,6 +444,8 @@ if __name__ == "__main__":
jq.enq("reinit", reinit_db)
elif "ents" in sys.argv:
jq.enq("survex", import_ents)
+ elif "survex_ck" in sys.argv:
+ jq.enq("survex", import_survex_checks)
elif "test2" in sys.argv:
jq.enq("QMs", import_QMs)
jq.enq("drawings", import_drawingsfiles)