|
From: | Tamas Nepusz |
Subject: | Re: [igraph] Python bindings issue |
Date: | Wed, 4 Jun 2008 11:47:17 +0200 |
Dear Filip,
Because of your comments i got a way to make things work, but there is a problem with the direct initialization of the Graph.vs dictionary via the constructor.Seems to be a bug then which has accidentally been fixed in the meanwhile (I tried it in the development version and it worked). A trivial workaround is to assign attributes after initialization:
g.vs["node"] = nodesJust to be on the safe side: please confirm that you are working with igraph 0.5. You can check that by:
import igraph print igraph.__version__ -- T.
[Prev in Thread] | Current Thread | [Next in Thread] |