igraph-help
[Top][All Lists]
Advanced

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

[igraph] igraph - pyhton interface <<error while using Read_Adjacency me


From: Shrijeet Paliwal
Subject: [igraph] igraph - pyhton interface <<error while using Read_Adjacency method in Graph>>
Date: Sat, 8 Nov 2008 12:31:31 -0500

Hi All,

I am using Python 2.5 compatible interface for igraph.
Here is the error:

File "igraph_1.py", line 6, in <module>
newgraph.Read_Adjacency(f,"edge")
AttributeError: 'Graph' object has no attribute 'Read_Adjacency'

Here is my code:

import igraph
newgraph = igraph.Graph()
f="adjmat.txt"
newgraph.Read_Adjacency(f,"edge")

Any suggestions? Other read methods for different layouts seem to go fine, like Read_GraphMLz.
--
Shrijeet
to iterate is human,to recurse divine.




reply via email to

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