Hi,
Thank you again for this great library.
First, could you please describe more details about using remove_vertex_if and find_vertex? and how to deal with the returned of those functions?
also, I have a simulation scenario where I have to remove nodes with the 10 % highest degrees. thus, I tried to use the following code as initial attempt
*prop = gt.find_vertex(g,"total",6) gv = gt.GraphView(g, vfilt=prop, efilt=None, directed=False, reversed=False) *
but it shows me the following error
Traceback (most recent call last): File "test-failure.py", line 57, in <module> gv = gt.GraphView(g, vfilt=gt.find_vertex(g,"total",6), efilt=None, directed=False, reversed=False) File "/usr/local/lib/python2.6/dist-packages/graph_tool/__init__.py", line 1525, in __init__ vmap[v] = vfilt(v) TypeError: 'list' object is not callable
any help to do my scenario would be greatly appreciated
Thank you in advance :)
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.