summaryrefslogtreecommitdiffstats
path: root/parsers/survex.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-26 02:10:45 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-26 02:10:45 +0100
commit72fa8a5883a12e73402a4d4fda74a7b27faba49d (patch)
treeac2ff9507a36152a0b2a73e88878acbd568dda01 /parsers/survex.py
parenta656ada67a5b7ff81634f0adcb553de295d624f4 (diff)
downloadtroggle-72fa8a5883a12e73402a4d4fda74a7b27faba49d.tar.gz
troggle-72fa8a5883a12e73402a4d4fda74a7b27faba49d.tar.bz2
troggle-72fa8a5883a12e73402a4d4fda74a7b27faba49d.zip
Making entrances work for pending caves
Diffstat (limited to 'parsers/survex.py')
-rw-r--r--parsers/survex.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/parsers/survex.py b/parsers/survex.py
index a073686..1f0f036 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -23,6 +23,10 @@ from troggle.core.models.survex import SurvexPersonRole, ScansFolder, SurvexDire
It does also NOT scan the Loser repo for all the svx files - though it should !
'''
+todo = '''Also walk the entire tree in the :loser: repo looking for unconnected survex files
+- add them to the system so that they can be reported-on
+- produce a parser report and create a troggle report page (some are OK, e.g. futility series replaced by ARGE survey in 115)
+'''
survexblockroot = None
ROOTBLOCK = "rootblock"
METRESINFEET = 3.28084
@@ -658,7 +662,7 @@ class LoadingSurvex():
#print("\n"+message)
#print("\n"+message,file=sys.stderr)
return
- message = " ! {} is not a cave. (while creating '{}' sfile & sdirectory)".format(headpath, includelabel)
+ message = f" ! {headpath} is not a fully-registered cave. (while creating '{includelabel}' sfile & sdirectory in survex parsing)"
print("\n"+message)
print("\n"+message,file=sys.stderr)
DataIssue.objects.create(parser='survex', message=message)