igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] graphml broken?


From: Claudio Martella
Subject: [igraph] graphml broken?
Date: Mon, 12 Dec 2011 18:06:42 +0100

Hello,

i'm running igraph 0.5.4 on python 2.7.

I'm loading my GraphML file but I get this warning:

/usr/local/share/python/ipython:1: RuntimeWarning: unknown attribute
key in GraphML file, ignoring attribute at foreign-graphml.c:660
  
#!/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

at igraph.Graph.Read_GraphML(...)

the only attributes i'm using for my graph are the edge data attributes:

    <edge source="1542" target="1782">
      <data key="ts" attr.type="float">1322829863.192513</data>
    </edge>
    <edge source="1542" target="4119">
      <data key="ts" attr.type="float">1322829863.192513</data>
    </edge>
    <edge source="1542" target="4151">
      <data key="ts" attr.type="float">1322829865.293222</data>
    </edge>
    ...

as vertices are easy:

    <node id="1234"/>

What's wrong with this usage of attributes?

-- 
   Claudio Martella
  address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]