summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-10-07 19:41:25 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-10-07 19:41:25 +0300
commit7c0187c75bb1d9dce1a55acb3d3bda9e893704ad (patch)
tree89cf9e45829550250aeb3e4290b7c3bda59f5112 /parsers
parent5f67af35f019e7054b9ce6de521b3fc96f5b0dc3 (diff)
downloadtroggle-7c0187c75bb1d9dce1a55acb3d3bda9e893704ad.tar.gz
troggle-7c0187c75bb1d9dce1a55acb3d3bda9e893704ad.tar.bz2
troggle-7c0187c75bb1d9dce1a55acb3d3bda9e893704ad.zip
Black triangles on cave index
Diffstat (limited to 'parsers')
-rw-r--r--parsers/locations.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/parsers/locations.py b/parsers/locations.py
index bde4671..8a5da4f 100644
--- a/parsers/locations.py
+++ b/parsers/locations.py
@@ -29,7 +29,10 @@ todo = """
class MapLocations(object):
"""Class used only for identifying the entrance locations
- Formerly used to put locations on a prospecting map"""
+ Formerly used to put locations on a prospecting map
+
+ We don't need these map locations any more ?!
+ They would only be used in addition to entrances going onto a map display"""
p = [
("laser.0_7", "BNase", "Reference", "Br&auml;uning Nase laser point"),
@@ -108,7 +111,11 @@ def validate_entrance_stations(ent=None):
if so.count() != 0:
message =f"{so.count()} found for Entrance {ent} '{ent_type}' station '{st}' {so}"
else:
- message = f" ! - Entrance {ent} has invalid '{ent_type}' station '{st}'."
+ message = f" ! - Entrance {ent} has invalid '{ent_type}' station '{st}'"
+ if st == ent.best_station():
+ message = message + " - AND THIS IS THE 'BEST' ONE"
+ else:
+ message = message + " - not the 'best'"
stash_data_issue(parser="positions", message=message, url=url)
print(message)
bads +=1