arup-group / genet

Manipulate MATSim networks via a Python API.
MIT License
45 stars 9 forks source link

Java array type is not read as expected #220

Closed KasiaKoz closed 9 months ago

KasiaKoz commented 10 months ago

The java array types are being read to a set with extra unnecessary characters.

Given:

<attribute name="attrib" class="java.lang.Array">{'A', 'B'}</attribute>

will be read to a set with elements "{'A'" and " 'B'}" in python:

{"{'A'", " 'B'}"}

We expect it to be a set with elements "A" and "B" in python:

{"A", "B"}