tgvaughan / MASTER

A versatile simulation engine for stochastic population dynamics models.
http://tgvaughan.github.io/MASTER
GNU General Public License v3.0
22 stars 8 forks source link

Problem with XML element in StructuredStochasticLogisticTreeSampled.xml #39

Closed maxbiostat closed 9 years ago

maxbiostat commented 9 years ago

The following line in the file:

<predicate spec='Predicate' exp="i!=j"/>

will give the following error:

Error 124 parsing the xml input file

This BEASTInterface (master.model.Predicate) has no input with name exp. Choose one of these inputs: value

Error detected about here:
  <beast>
      <run spec='InheritanceTrajectory'>
          <model spec='Model'>
              <reaction spec='Reaction'>
                  <predicate spec='Predicate'>

changing to

<predicate spec='Predicate' value="i!=j"/>

solves the problem.

Tested using MASTER version 4.1.0.

tgvaughan commented 9 years ago

Yikes, thanks for pointing this out. Will fix ASAP.