chofski/netevo-py

yEd (and Cytoscape) cannot open the state node atribute

Closed this issue · 1 comments

Hi!
I tried to open evolution_sa_dyn_final.gml after running evolve_sa_sync_rossler.py.
Cytoscape errors out without a clear message, yEd complains with:

java.io.IOException: Parse error at line 9: Malformed GML! Did not find LETTER, EOF or ] but '-'
    at y.H.A.K.ā(Unknown Source)
    at y.H.H.ā(Unknown Source)
    at y.H.H.ā(Unknown Source)
...

Line 9 of evolution_sa_dyn_final.gml is:

 state [ -1.22688929e+01   8.10151183e+00   9.14582070e-03]

Regards, Guilherme

Hi Guilherme,
This was a known issue I am afraid, basically the standard GML writer in networkx, doesn't handle list attributes very well. I'll update the example to get it running, but a proper fix is on it's way and will be implemented later.