get_out_degrees function issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

get_out_degrees function issue

Davide Baù
Hi, 

I'm trying to use the function "get_out_degrees", but I get following error:

AttributeError: 'Graph' object has no attribute 'get_out_degrees'

The graph I generated is a directed graph:
<Graph object, directed, with 396 vertices and 10042 edges at 0x7fb5c15c5690>

The gt version is the 2.18 (Ubuntu Trusty):
'2.18 (commit 37996a0a, Thu Jul 21 17:56:14 2016 +0200)'

Any idea of what I'm doing wrong?

Thanks a lot!
Davide

_______________________________________________
graph-tool mailing list
[hidden email]
https://lists.skewed.de/mailman/listinfo/graph-tool
Reply | Threaded
Open this post in threaded view
|

Re: get_out_degrees function issue

Tiago Peixoto
Administrator
On 10.11.2017 10:24, Davide Baù wrote:

>
> I'm trying to use the function "get_out_degrees", but I get following error:
>
> AttributeError: 'Graph' object has no attribute 'get_out_degrees'
>
> The graph I generated is a directed graph:
> <Graph object, directed, with 396 vertices and 10042 edges at 0x7fb5c15c5690>
>
> The gt version is the 2.18 (Ubuntu Trusty):
> '2.18 (commit 37996a0a, Thu Jul 21 17:56:14 2016 +0200)'
>
> Any idea of what I'm doing wrong?
Yes, this is a very old version, which does not include this function. The
current version is 2.26, which does.

--
Tiago de Paula Peixoto <[hidden email]>




_______________________________________________
graph-tool mailing list
[hidden email]
https://lists.skewed.de/mailman/listinfo/graph-tool

signature.asc (849 bytes) Download Attachment
--
Tiago de Paula Peixoto <tiago@skewed.de>