29 May
2014
29 May
'14
6:43 p.m.
On 05/29/2014 08:10 PM, Flavien Lambert wrote:
*The error message:* Traceback (most recent call last): File "test.py", line 4, in <module> _edgeIds = g.edge_properties["_graphml_edge_id"] File "/usr/lib/python2.7/site-packages/graph_tool/__init__.py", line 995, in __getitem__ val = self.get_func(self.g, key) File "/usr/lib/python2.7/site-packages/graph_tool/__init__.py", line 1469, in <lambda> lambda g, k: g.__properties[("e", k)], KeyError: ('e', '_graphml_edge_id')
I can't reproduce this. For me, the "_graphml_edge_id" property is present with the example you provided. What graph-tool version are you using? Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>