On May 30, 2:37 am, Andrew Rambaut <
a.ramb...@ed.ac.uk> wrote:
> Dear Justin,
>
> This is a case of fix one thing, break another. You are correct that the second of the two examples will work but I will file a bug report that the former should work.
>
> Andrew
>
> On 29 May 2012, at 18:12, Justin wrote:
>
>
>
>
>
> > When saving trees with branch lengths in substitutions the following error comes up:
>
> > Error parsing '<logTree>' element with id, 'substTreeFileLog':
> > To log trees in units of substitutions a BranchRateModel must be provided
>
> > The logTree element is output from Beauti.
>
> > <logTree id="substTreeFileLog" logEvery="1000" nexusFormat="true" fileName="Tree.(subst).trees" branchLengths="substitutions">
> > <treeModel idref="treeModel"/>
> > <trait name="rate" tag="rate">
> > <discretizedBranchRates idref="branchRates"/>
> > </trait>
> > </logTree>
>
> > It appears that trees will be saved by modifying the element as follows:
>
> > <logTree id="substTreeFileLog" logEvery="1000" nexusFormat="true" fileName="Tree.(subst).trees" branchLengths="substitutions">
> > <treeModel idref="treeModel"/>
> > <discretizedBranchRates idref="branchRates"/>
> > </logTree>
>
> > Is this ok, or should something else be identified in the xml.
>
> > J
>
> > --
> > You received this message because you are subscribed to the Google Groups "beast-users" group.
> Scotland, with registration number SC005336.