Dear all,

since version 1.9.1 I noticed a small change in the sumolib/xml.py in
parse_fast_nested function i.e.
https://github.com/eclipse/sumo/commit/72e6bf842a49dba9c1399ef608eecf187addf7ac#diff-05f6455dc67b972faeae4013588d6f120b07c16f68621556b98aff3d144579d1
that causes duarouter/marouter output parsing not working as in the
previous version of the function.
Currently, I cannot retreive the attributes of route element as I could
previously using my python script:
for row in
sumolib.output.parse_fast_nested(filePath,'vehicle',['id','depart'],'route',['cost','probability','edges']):
        ((vehidi,departTimei),(costi,probi,edgesi)) = row
I undid the changes and my script works again. Just wondering how should I
adapt my code to work with the new function?

Thanks,
Sasan
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to