[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Shortest Path
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] Shortest Path |
Date: |
Tue, 23 Dec 2014 00:19:41 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
> *pa = ethics_net.get_shortest_paths(beg_node,end_node)*
> [...]
> *ValueError: no such vertex: '12'*.
>
> There is a vertex 12, I created it with this statement:
You are passing "12" as a string while it should either be a vertex index
(i.e. a numeric value) or the value of the "name" attribute of some vertex that
identifies the vertex uniquely.
T.