[Top][All Lists]

[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


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

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 source="1542" target="4119">
      <data key="ts" attr.type="float">1322829863.192513</data>
    <edge source="1542" target="4151">
      <data key="ts" attr.type="float">1322829865.293222</data>

as vertices are easy:

    <node id="1234"/>

What's wrong with this usage of attributes?

   Claudio Martella

reply via email to

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