I'm using python package graph-tool, and facing an error trying to internalize boolean PropertyMap, the way described at http://graph-tool.skewed.de/static/doc/quickstart.html#graph-views. Here is an example code:
from graph_tool.all import *
g = price_network(500)
filtered = g.new_vertex_property("bool")
for v in g.vertices():
filtered[v] = True
g.properties["filtered"] = filtered
The last line produces a
TypeError: value for 't' must be one of: v, e, g
Anyone knows how to put it right?