diff options
Diffstat (limited to 'parsers')
-rw-r--r-- | parsers/locations.py | 11 |
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ä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 |