Skip to content

Commit

Permalink
add SimpleRandomTree template + prep for BEAST v2.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed Mar 19, 2018
1 parent aa76236 commit 76e9624
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<property name="srcBeast2" location="${beast2path}/src" />
<property name="beast2classpath" location="${beast2path}/build" />
<property name="Add_on_dir" value="${release_dir}/add-on" />
<property name="version" value="1.7.0" />
<property name="version" value="1.8.0" />

<import file="${beast2path}/build.xml" />

Expand Down
4 changes: 2 additions & 2 deletions src/beast/math/distributions/MixtureDistribution.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package beast.math.distributions;


import java.util.ArrayList;
import java.util.List;
import java.util.Random;

import com.sun.org.glassfish.gmbal.Description;

import beast.core.Description;
import beast.core.Distribution;
import beast.core.Input;
import beast.core.Input.Validate;
Expand Down
16 changes: 16 additions & 0 deletions templates/extras.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@
<connect srcID="MultiMonophyleticConstraint.$(n)" targetID="prior" inputName="distribution" if="isInitializing"/>
</subtemplate>


<subtemplate id='SimpleRandomTree' class='beast.evolution.tree.SimpleRandomTree' mainid='SimpleRandomTree.t:$(n)'
suppressInputs="
beast.evolution.tree.SimpleRandomTree.weights,
beast.evolution.tree.SimpleRandomTree.taxa,
beast.evolution.tree.SimpleRandomTree.estimate,
beast.evolution.tree.SimpleRandomTree.trait,
beast.evolution.tree.SimpleRandomTree.taxonset,
beast.evolution.tree.SimpleRandomTree.nodetype,
beast.evolution.tree.SimpleRandomTree.initial">
<![CDATA[
<tree spec='beast.evolution.tree.SimpleRandomTree' id='SimpleRandomTree.t:$(n)' estimate='false' initial="@Tree.t:$(n)">
<taxa idref='data'/>
</tree>
]]>
</subtemplate>
</mergewith>
</beast>

Expand Down
10 changes: 5 additions & 5 deletions version.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<addon name='BEASTLabs' version='1.7.0'>
<depends on='beast2' atleast='2.4.3'/>
<addonapp description="BEAST model spreadsheet"
<package name='BEASTLabs' version='1.8.0'>
<depends on='beast2' atleast='2.5.0'/>
<packageapp description="BEAST model spreadsheet"
class="beast.app.draw.SpreadSheet"
args=""
icon=""
/>
<addonapp description="View parametric distributions"
<packageapp description="View parametric distributions"
class="beast.app.beauti.DistributionViewer"
args=""
icon=""
/>
</addon>
</package>

0 comments on commit 76e9624

Please sign in to comment.