Browse Source

Add Oravița and Anina to roots

master
Kenneth Bruen 1 year ago
parent
commit
d37c873d68
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 2
      analysis.rb
  2. 2
      archival.rb

2
analysis.rb

@ -167,4 +167,4 @@ arrival_delays.to_a.sort {|a, b| b[1].count <=> a[1].count}.each do |delay, trai
}.join(", ") }.join(", ")
end end
puts puts
# end end

2
archival.rb

@ -157,7 +157,7 @@ def main
end end
# @type [Array<String>] # @type [Array<String>]
roots = ['București Nord', 'Brașov', 'Iași', 'Titan Sud', 'Oltenița'] roots = ['București Nord', 'Brașov', 'Iași', 'Titan Sud', 'Oltenița', 'Oravița', 'Anina']
# @type [Array<String>] # @type [Array<String>]
visited_stations = Dir.entries(File.join $datestr, 'stations') visited_stations = Dir.entries(File.join $datestr, 'stations')
.filter { |entry| entry != '.' and entry != '..' } .filter { |entry| entry != '.' and entry != '..' }

Loading…
Cancel
Save