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

Parsing error for BEAUTi-generated xml file for directional random walk model #1083

Open
mlewinsohn opened this issue May 5, 2020 · 2 comments
Milestone

Comments

@mlewinsohn
Copy link

mlewinsohn commented May 5, 2020

I am interested in comparing location traits inferred with the directional random walk model with other continuous trait models implemented in BEAST. I generated the xml file using the same data and parameters that have worked for other models and got the following error in BEAST:

SEVERE: Parsing error - poorly formed BEAST file, CC_sim_directional_template.xml:
The '<strictClockBranchRates>' element, nested within an element with id, 'location.traitLikelihood', is incorrectly constructed.
The following was expected:
Exactly one ELEMENT of name rate REQUIRED containing
    Exactly one ELEMENT of type Parameter REQUIRED
Error thrown at: dr.xml.AbstractXMLObjectParser.parseXMLObject(Unknown Source)

I am using BEAUti v1.10.4 and BEAST v1.10.4

Here is an example xml file generated in BEAUti that reproduces the error: https://drive.google.com/file/d/1DvTepifUANyqB7ttwn9S-gbQbYQZaepj/view?usp=sharing

@pbastide
Copy link
Contributor

pbastide commented May 7, 2020

Thank you for opening an issue. We are currently working on improving support for continuous trait models in BEAUTi, so any feedback is welcome.

I committed what should be a fix for this problem in branch trait_beauti, that is still under active development. The fix should appear in a future version of the software.

In the meantime, here is a modified xml, that should work with the current version of BEAST.

Thank you,
Best,
Paul

@mlewinsohn
Copy link
Author

Hi Paul,

Thanks so much, the modified xml worked perfectly.

Best,
Maya

@rambaut rambaut added this to the beast X milestone Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants