Hi Tiago

Le 03/10/2012 14:07, Tiago Peixoto [via Main discussion list for the graph-tool project] a écrit :
Hi Guillaume,


On 10/03/2012 07:59 AM, Guillaume Gay wrote:
> Here is a minimal code that shows this behaviour:

[...]

I cannot see any issue... Here is the output of your test code with the
latest git version:

    $ ./test.py all
    Graph_tool version : 2.2.18dev (commit 1b433d91, Fri Aug 3 17:23:40 2012 +0200)

    Performing test1:
    -----------------

    original pos: [ 0.   0.1  1.   1.1]
    reload graph property:
                   [ 0.   0.1  1.   1.1]


    Performing test2:
    -----------------

    original pos: [ 0.   0.1  1.   1.1]
    reload graph property:
                   [ 0.   0.1  1.   1.1]


    original graph property: [ 0.   0.1  1.   1.1]
    reload graph property: [ 0.   0.1  1.   1.1]

I get the same values if I run test1/2/3 separately. What do you observe?

Performing test2 alone returns this:

# python graph_io_test.py test2

Graph_tool version : 2.2.17 (commit d058ad14, Tue Jun 19 22:27:35 2012 +0200)

Performing test2:
-----------------

original pos: [ 0.   0.1  1.   1.1]
reload graph property:
               [ 0.  1.  1.  1.]

So as you can see the second and fourth values od the array are changed

Thx for looking into it!

Guillaume


Cheers,
Tiago

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


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

signature.asc (563 bytes) Download Attachment
--
Tiago de Paula Peixoto [hidden email]



If you reply to this email, your message will be added to the discussion below:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Strange-save-load-graph-behaviour-tp4024788p4024791.html
To unsubscribe from Strange save / load_graph behaviour, click here.
NAML



View this message in context: Re: Strange save / load_graph behaviour - test code
Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.