If you create a leafHeight parameter:
<leafHeight taxon="D4Indon76">
<parameter id="indonHeight"/>
</leafHeight>
This parameter gets replaced with the appropriate one in the tree model. If you
then use an idref of the same parameter to try and link the two leaf heights:
<leafHeight taxon="D4Indon77">
<parameter idref="indonHeight"/>
</leafHeight>
What happens is the second tip height parameter from the tree model gets
swapped with the parameter losing the connection with the first.
This behaviour is unexpected because of the strange way treemodel works. There
needs to be a check and error thrown. Linking parameters in this way can be
done with the new EqualityConstrainedParameter.
Original issue reported on code.google.com by ramb...@gmail.com on 3 Mar 2013 at 8:44
Original issue reported on code.google.com by
ramb...@gmail.com
on 3 Mar 2013 at 8:44