diff --git a/build.xml b/build.xml index 873efc8..9328e4c 100644 --- a/build.xml +++ b/build.xml @@ -18,7 +18,7 @@ - + @@ -29,6 +29,7 @@ + diff --git a/src/beast/evolution/likelihood/PartitionProvider.java b/src/beast/evolution/likelihood/PartitionProvider.java index 795ce4e..3c9effc 100644 --- a/src/beast/evolution/likelihood/PartitionProvider.java +++ b/src/beast/evolution/likelihood/PartitionProvider.java @@ -238,8 +238,9 @@ public void initStateNodes() throws Exception { tabuList.add(this); for (int i = 1; i < numPartitions.get(); i++) { BeautiDoc doc = new BeautiDoc(); - PartitionContext context = new PartitionContext(sPartition+i); - BEASTInterface plugin = BeautiDoc.deepCopyPlugin(siteModel, this, mcmc, context, doc, tabuList); + PartitionContext oldContext = new PartitionContext(sPartition); + PartitionContext newContext = new PartitionContext(sPartition+i); + BEASTInterface plugin = BeautiDoc.deepCopyPlugin(siteModel, this, mcmc, oldContext, newContext, doc, tabuList); m_pSiteModel.get().add((SiteModel.Base) plugin); } if (siteModel instanceof SiteModel) { diff --git a/templates/AutoPartition.xml b/templates/AutoPartition.xml index 4f19c07..e9036f5 100644 --- a/templates/AutoPartition.xml +++ b/templates/AutoPartition.xml @@ -211,12 +211,13 @@ - - - - - - + + + + + + + diff --git a/templates/BEASTmodeltest.xml b/templates/BEASTmodeltest.xml deleted file mode 100644 index 4275b2f..0000000 --- a/templates/BEASTmodeltest.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - 5 - 1.0 - 1.0 - 0.1 - 1 - 1 - - - - - - - - - - - - - - - 1.0 - - - - - - - - - - - - - - - - - ]]> - - - - - - - - - - - - Prior on substitution model ratesfor partition s:$(n) - Prior on gamma shape parameter for partition s:$(n) - Prior on proportion invariant for partition s:$(n) - - Resersible jump of subst models for partition s:$(n) - Scales subst model rates of partition s:$(n) - Scales gamma shape parameter of partition s:$(n) - Scales proportion invariant of partition s:$(n) - Switches gamma rates on/off of partition s:$(n) - Switches invariant sites on/off of partition s:$(n) - - - - - - - - - - - - diff --git a/version.xml b/version.xml index 5a4d597..d3320e2 100644 --- a/version.xml +++ b/version.xml @@ -1,3 +1,3 @@ - +