diff options
Diffstat (limited to 'databaseReset.py')
-rw-r--r-- | databaseReset.py | 6 |
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) |