summaryrefslogtreecommitdiffstats
path: root/parsers/survex.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/survex.py')
-rw-r--r--parsers/survex.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/parsers/survex.py b/parsers/survex.py
index cebeb91..52ecc70 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -68,6 +68,8 @@ class SurvexLeg:
def IdentifyCave(cavepath):
"""Given a file path for a survex file, or a survex-block path,
return the cave object
+
+ This is clearly getting it badly wrong, see /survexdirs report.
"""
caveslist = GetCaveLookup()
if cavepath.lower() in caveslist:
@@ -1171,6 +1173,8 @@ class LoadingSurvex:
it sets the primarysurvexfile. This is correct as it should be set on the first file
in the directory, where first is defined by the *include ordering. Which is what we
are doing.
+
+ This does NOT set the current cave id in the SurvexDirectory, that happens later
"""
if not headpath:
return self.svxdirs[""]