Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkpointing does not seem to work with Markov-modulated models #1072

Open
GuyBaele opened this issue Sep 17, 2019 · 1 comment
Open

Checkpointing does not seem to work with Markov-modulated models #1072

GuyBaele opened this issue Sep 17, 2019 · 1 comment
Assignees
Labels

Comments

@GuyBaele
Copy link
Contributor

The state file generated contains entries such as:
parameter treeModel.rootHeight 1 174.13024862028956parameter 0 1 8.413698630136878parameter ...
These '174.13024862028956parameter' entries can obviously not be parsed correctly upon loading the state file.

@GuyBaele GuyBaele added the bug label Sep 17, 2019
@GuyBaele GuyBaele self-assigned this Sep 17, 2019
@GuyBaele
Copy link
Contributor Author

Cannot reproduce - i.e. works fine - on my laptop (Mac OS X). It seems the println() statement on the PrintStream object does not generate a newline in the checkpoint file on the Unix system (CentOS 7.6.1810; kernel: 3.10.0-957.27.2.el7.x86_64). According to the Java documentation, the println() on a PrintStream object 'terminates the current line by writing the line separator string. The line separator string is defined by the system property line.separator, and is not necessarily a single newline character ('\n').'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant