NREL / routee-compass

An energy-aware routing engine
https://nrel.github.io/routee-compass/
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

209 run in batches #228

Open zenon18 opened 4 months ago

zenon18 commented 4 months ago

Pull request for #209

Created a generator function that takes a file pointer and a batch size and reads up to that many queries from the file and calls run.

jhoshiko commented 4 months ago

After discussing this feature with the group, it sounds like we should look into adding a parser for query files to prevent crashes from faulty files (See issue #236)