|
From: | Tamas Nepusz |
Subject: | Re: [igraph] Loading graphs into python-igraph |
Date: | Fri, 17 Oct 2008 08:40:41 +0100 |
Hi,
Please try to replace commas in your file with spaces. When reading directly from a file, igraph uses the routines of the C core and it expects whitespace between vertex indices. If igraph still does not recognise the file format, you can also try to force it to use the edgelist reader:I’m trying to port this to Python, but not having much success: >>> graph = igraph.load('testfile') [...] IOError: unknown file format: None
graph = igraph.load('testfile', format='edgelist') -- T.
[Prev in Thread] | Current Thread | [Next in Thread] |