Thank for reporting this problem. The invalid end tag has been fixed and
comments are now preserved (if using python 3.8 or higher).

Am Fr., 30. Sept. 2022 um 22:34 Uhr schrieb Albert Jeans <[email protected]
>:

> I returned to using SUMO after a break of a couple of  years and learned
> that the format for turn definitions for JTRROUTER had changed from
> "fromEdge" and "toEdge" to "edgeRelation ... from ... to". I used the
> Python script turnFile2EdgeRelations.py to convert an existing turn
> definition file into the new format, but it resulted in an error because
> the outfile file started with the tag "<data ...> but ended with the tag
> "</edgeRelations>". I changed the Python script to write the tag "</data>"
> at the end and this seemed to fix the problem. Is this correct?
>
> It would have been nice if the Python script could have left comment lines
> in the turn definitions file unchanged in the edgeRelations file instead of
> ignoring them. RIght now, I'm converting the old turn definitions file each
> time I want to run JTRROUTER so that I can keep using the old format.
>
> Albert Jeans
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to