Good afternoon guys,
I'm trying to run implausibleRoutes after running flowrouter but I get this error message:
Error: Route '!-142642234#1_23397588#1.count.0' (vehicle '-142642234#1_23397588#1.count.0') is not valid.
Quitting (on error).
Traceback (most recent call last):
File "C:\Program Files (x86)\Eclipse\Sumo\\tools\route\implausibleRoutes.py", line 322, in <module>
main()
~~~~^^
File "C:\Program Files (x86)\Eclipse\Sumo\\tools\route\implausibleRoutes.py", line 265, in main
options.detour_factor * ri.detour +
^^^^^^^^^
AttributeError: 'RouteInfo' object has no attribute 'detour'
This is how I ran flowrouter and implausibleRoutes:
python "%SUMO_HOME%\tools\detector\flowrouter.py" -n osm.net.xml -d detectores_e1.add.xml -f espiras_counts.csv --flow-column count -i 60 --via-detectors -o rutas_FR.rou.xml -e flows_FR.add.xml -v
python "%SUMO_HOME%\tools\route\implausibleRoutes.py" osm.net.xml rutas_FR.rou.xml --standalone --threshold 2.5 --restriction-output restrict_FR.txt -v
I've already tried cleaning the routeIDs generated by flowrouter (removing characters like !, # and .count), and I also ran implausibleRoutes with --ignore-errors, but the same issue persists.
Is there any other way to run implausibleRoutes on routes generated by flowrouter with --via detectors?
Best regards,
Gabriel