igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Shortest Path


From: Herb Roseman
Subject: Re: [igraph] Shortest Path
Date: Mon, 22 Dec 2014 23:25:51 +0000

Dumb mistake.  Sorry and thanks for your help.

On Mon Dec 22 2014 at 6:20:08 PM Tamas Nepusz <address@hidden> wrote:
> *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.

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

reply via email to

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