beiko-lab / gengis

GenGIS (pronounced 'Genghis' like Genghis Khan) is a bioinformatics application that allows users to combine digital map data with information about biological sequences collected from the environment. GenGIS provides a 3D graphical interface in which the user can navigate and explore the data, as well as a Python interface that allows easy scripting of statistical analyses using the Rpy libraries.
GNU General Public License v3.0
27 stars 13 forks source link

Cannot see # of crossings after restoring a session #23

Closed rbeiko closed 11 years ago

rbeiko commented 11 years ago

A user emailed about a problem with viewing the number of subtree crossings in an optimized 2D phylogeny. This works fine when the datasets are initially loaded, but if you save and restore, then selecting a 2D tree node will not show the number of crossings.

I can confirm this behaviour on the GOS data set, as well as some of the Patagonian examples Daniel and I are working with.

Permutation tests still work, so I think all variables are being loaded correctly.

She also said that manipulating the tree caused this problem, but I cannot duplicate this and have asked for clarification.

rbeiko commented 11 years ago

Quick note: deleting the tree and loading it again brings back the reporting of crossings.

tymmek commented 11 years ago

Boost-related code (SignalNodeUpdate method) needed to be called after de-serialization of GeoTreeView objects. Variable 'm_sigNodeUpdate' belonging to GeoTreeView cannot be serialized, so the problem was directly related to an invalid 'm_sigNodeUpdate' variable. Reconnection of this variable to Boost signal libraries during de-serialization has fixed the problem.