On 13.01.2016 14:08, François Kawala wrote:
Hello,
Since past couple days I encounter a new RuntimeError that I fail to explain. See below the end of the error stack :
File "utils/graph.py", line 345, in multiple_shortest_path p = graph.vertex(pred_map[v]) File "/usr/lib/python2.7/dist-packages/graph_tool/__init__.py", line 1777, in vertex v = libcore.get_vertex(self.__graph, int(i), use_index) RuntimeError: Edge filter is active but vertex filter is not. This is a bug.
This error is raised in a customized version of the *graph_tool.topology.shortest_path *function. This function (named multiple_shortest_path) is "optimized" to compute multiple shortest paths**from a source vertex to a set of targets. This function is presented below.
Would anybody have some hints on the reason of this intermittent error ?
This is most likely a bug, but it cannot have anything to do with the function you sent, since it does not activate or deactivate graph filtering. Please provide a minimal but _complete_ script where the problem can be seen. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>