diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-12-11 12:13:59 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-12-11 12:13:59 +0100 |
commit | e7fb105b66035a0587e5a0ffb27fa3abd4fbc052 (patch) | |
tree | b8dd889d14f3c059728c39ac2c400c3a55e9ce56 /lib/Travel/Status/DE | |
parent | dff53877f79bb63e71632c3200a473454d8c41a7 (diff) |
get_station: Do not ignore "Betriebsstelle unbekannt" for now
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r-- | lib/Travel/Status/DE/IRIS.pm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 9995863..7e5d308 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -518,10 +518,15 @@ sub get_station { if ( $station_node->getAttribute('ds100') =~ m{ ^ D \d+ $ }x ) { - # This is an invalid DS100 code, at least from DB perspective. - # So far it seems to refer to subway stations which do not have - # IRIS departures. - next; + # This used to indicate an invalid DS100 code, at least from DB + # perspective. It typically referred to subway stations which do not + # have IRIS departures. + # However, since Fahrplanwechsel 2022 / 2023, this does not seem + # to be the case anymore. There are some stations whose DS100 code + # IRIS does not know, for whatever reason. So for now, accept these + # stations as well. + + #next; } push( |