diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-05 21:46:10 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-05 21:46:10 +0300 |
commit | 8c721e905ad1276b510ad266bd54eb0d8b489038 (patch) | |
tree | 3531695bcbafbeb67679cba5012f4024b5aa7be1 /parsers/survex.py | |
parent | 8e2990ca7a2c08031d8434e138edc77df3229818 (diff) | |
download | troggle-8c721e905ad1276b510ad266bd54eb0d8b489038.tar.gz troggle-8c721e905ad1276b510ad266bd54eb0d8b489038.tar.bz2 troggle-8c721e905ad1276b510ad266bd54eb0d8b489038.zip |
New SurvexDirectory report
Diffstat (limited to 'parsers/survex.py')
-rw-r--r-- | parsers/survex.py | 4 |
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[""] |