igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Python bindings issue


From: Filip Hermans
Subject: Re: [igraph] Python bindings issue
Date: Wed, 4 Jun 2008 13:40:48 +0200

Tamas,

Apparently i was working with version 0.4.5. I thought i installed the latest version (using the .dmg provided on the igraph site) but after installation i kept having version 0.4.5. I first had to delete the prevision igraph egg and afterwards install the 0.5 version. As you pointed out, the Graph constructor does the trick in the latest version.

Again, a lot of thanks for you help,

Filip


Op 4-jun-08, om 11:47 heeft Tamas Nepusz het volgende geschreven:

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"] = nodes

Just 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.



_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help




reply via email to

[Prev in Thread] Current Thread [Next in Thread]