diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-15 17:51:01 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-15 17:51:01 +0100 |
commit | 27491c933a3b676960179448c7c28ba1b788e3e7 (patch) | |
tree | 61f90f2b20482f17ddaded9b6a7e335be1f0b7be /parsers/survex.py | |
parent | 7124d978d31b839efc57112a9aa2c6d82c2d60d7 (diff) | |
download | troggle-27491c933a3b676960179448c7c28ba1b788e3e7.tar.gz troggle-27491c933a3b676960179448c7c28ba1b788e3e7.tar.bz2 troggle-27491c933a3b676960179448c7c28ba1b788e3e7.zip |
enabled mugshots & blurb in people pages
Diffstat (limited to 'parsers/survex.py')
-rw-r--r-- | parsers/survex.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/parsers/survex.py b/parsers/survex.py index 23f27aa..5938615 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -576,6 +576,7 @@ class LoadingSurvex(): return self.caveslist[cavepath.lower()] # TO DO - some of this is already done in generating self.caveslist so simplify this # esp. as it is in a loop. + # TO DO recognise cave if different name, e.g. gruenstein == 281 path_match = self.rx_cave.search(cavepath) if path_match: sluggy = '{}-{}'.format(path_match.group(1), path_match.group(2)) @@ -608,9 +609,15 @@ class LoadingSurvex(): """Ignore surface, kataser and gps *include survex files """ if headpath in self.ignorenoncave: + #message = f" - {headpath} is <ignorenoncave> (while creating '{includelabel}' sfile & sdirectory)" + #print("\n"+message) + #print("\n"+message,file=sys.stderr) return for i in self.ignoreprefix: if headpath.startswith(i): + #message = f" - {headpath} starts with <ignoreprefix> (while creating '{includelabel}' sfile & sdirectory)" + #print("\n"+message) + #print("\n"+message,file=sys.stderr) return message = " ! {} is not a cave. (while creating '{}' sfile & sdirectory)".format(headpath, includelabel) print("\n"+message) |