beast-dev / beast-mcmc

Bayesian Evolutionary Analysis Sampling Trees
http://beast.community
GNU Lesser General Public License v2.1
192 stars 73 forks source link

Can't save Beauti files with HPM in it and unable to restore settings through XML files. #1061

Closed Serebix closed 4 months ago

Serebix commented 5 years ago

Hi all, I saw a closed thread about loading old settings in Beauti (https://github.com/beast-dev/beast-mcmc/issues/689). So I assumed I always tried things wrong when I wanted my settings back in Beauti from old XML files to change just some minor priors. So I set up a new test run, set some parameters and linked a few priors into a HPM. Upon saving (before even trying to load this file back in) I received the following error message:

Unable to save file: java.io.NotSerializableExecption: dr.app.beauti.components.hpm.HierarchicalPhylogeneticModel

So what is the proper way to save and restore old (complicated) set-ups with priors, HPM and other settings?

Serebix commented 5 years ago

Update to the loading issue: After setting all parameters (without a HPM) and saving to a file (with or without the extension *.beauti) the current state can't be reloaded when trying to opening it again late on.

Upon loading it via "Load" I get the error message "No data loaded - select "Import data..."" in the lower left corner. When trying to load this beauti-save with import data it gives me an expected error (unrecognized format for imported file.).