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] 
> </user/SendEmail.jtp?type=node&node=4024791&i=0>>
>
>
> _______________________________________________
> graph-tool mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=4024791&i=1>
> http://lists.skewed.de/mailman/listinfo/graph-tool
>
> *signature.asc* (563 bytes) Download Attachment 
> <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4024791/0/signature.asc>
> -- 
> Tiago de Paula Peixoto <[email protected]>
>
>
> ------------------------------------------------------------------------
> 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 
> <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4024788&code=Z3VpbGxhdW1lQG1pdG90aWMtbWFjaGluZS5vcmd8NDAyNDc4OHwxODE0OTk1MzEw>.
> NAML 
> <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>  
>





--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Strange-save-load-graph-behaviour-tp4024788p4024792.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to