Hi Arpad,
that cannot be the case, I have a plethora of other files that run just
fine and are also numbered from 1. But thank you for the heads up... if
you don't mind, I will cc it to the list, as it becomes part of the
knowledge base.
Cheers
Martin
On 8/11/2010 1:45 PM, Árpád Horváth wrote:
Dear Martin!
I guess this: they are numbered from 1. IGraph uses vertices numbered
from 0. I do not write it to the list, because I am quite new to
IGraph, and perhaps I am wrong.
Árpád
2010/8/11 Martin Tomko <address@hidden>
Hi
All,
I am experiencing a problem reading a pjek formatted graph (that I
output from my own conversion script). The graph opens fine in Pajek
itself.
I get the following error:
Fehler in read.graph.pajek(file, ...) :
At type_indexededgelist.c:245 : cannot add edges, Invalid vertex id
It is a very simple graph with no fancy attributes, just :
*Vertices 8309
1
2
3
4
5
6
...
*Edges
1 2
1 7044
10 985
100 1901
...
I have output many other .net graphs and ingested them into igraph
without problems before, although from a different procedure and input,
so it must be something with the new input graph data I have, I assume.
I made sure that the number of vertices is correct, they are numbered
from 1, sequentially, and ordered in the output, and I also ordered the
edges. I have no idea what could be the problem.
Is there a way to enable more verbose debug output from igraph in R, so
that I see which vertex number is the problem?
the two graphs are available here, if anyone wants to try...:
http://www.geo.uzh.ch/~mtomko/myoutput.net
http://www.geo.uzh.ch/~mtomko/pajektest.net
Thanks
Martin
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help
--
Martin Tomko
Postdoctoral Research Assistant
Geographic Information Systems Division
Department of Geography
University of Zurich - Irchel
Winterthurerstr. 190
CH-8057 Zurich, Switzerland
email: address@hidden
site: http://www.geo.uzh.ch/~mtomko
mob: +41-788 629 558
tel: +41-44-6355256
fax: +41-44-6356848
|