Giter Site home page Giter Site logo

Comments (7)

4ment avatar 4ment commented on August 22, 2024

Can you send me your xml files so I can debug it?

from flc.

J-Moravec avatar J-Moravec commented on August 22, 2024

Ah, sorry, I thought that I added it to the github post, but it does not accept XML files.

Here:
https://www.dropbox.com/s/t0tucvinwcmaklv/FlexibleLocalClock.xml?dl=0

I went through example XML and those old example XMLs that are downloaded with BEAST, but are no longer on github, but couldn't find why it isn't working. Clock, priors, operators and logs are all set up as in example files.

from flc.

4ment avatar 4ment commented on August 22, 2024

Sorry for the delay. I just had a look and it works for me with BEAST2.5. What is your BEAST version?

from flc.

J-Moravec avatar J-Moravec commented on August 22, 2024

2.5.2.
So my file works on your computer, but not mine? But examples are working on your and mine? I hate these mysteries.

Thanks, I would like to leave this open for a while until I figure out why it doesn't work or someone else can chip in with a similar problem.

from flc.

4ment avatar 4ment commented on August 22, 2024

Strange, what's the version of FLC in the package manager?

from flc.

J-Moravec avatar J-Moravec commented on August 22, 2024

1.1.0, what appears to be latest.

from flc.

4ment avatar 4ment commented on August 22, 2024

OK, I didn't realize that the XML you sent me actually worked because of the order of the taxa as you mentioned at the end of your first comment. If I select another set of taxa I get the same errors you described. The problem comes from SimpleRandomTree, it appears to be initialized differently from RandomTree.

As a quick fix you can replace this line
<init id="RandomTree.t:tree" spec="beast.evolution.tree.SimpleRandomTree" estimate="false" initial="@Tree.t:tree" taxa="@methylations"/>
with

<init id="RandomTree.t:tree" spec="beast.evolution.tree.RandomTree" estimate="false" initial="@Tree.t:tree" taxa="@methylations">
        <populationModel id="ConstantPopulation0.t:fluA" spec="ConstantPopulation">
            <parameter id="randomPopSize.t:fluA" name="popSize">1.0</parameter>
        </populationModel>
</init>

from flc.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.