Closed GoogleCodeExporter closed 8 years ago
solution:
add <dataType idref="???" /> in the xml to get data type and then
getStateCount().
example xml H5N1_HA_discrete_traits.xml available in
trunk\examples\Phylogeography
<discreteTraitRateModel id="branchRates">
<treeModel idref="treeModel"/>
<ancestralTreeLikelihood idref="geoTreeLikelihood"/>
<dataType idref="geography"/>
<!--<attributePatterns idref="geoPatterns"/>-->
<rate>
<parameter id="trait.rates" value="1 1 1 1 1 1 1"/>
</rate>
</discreteTraitRateModel>
Original comment by dong.w.xie@gmail.com
on 7 Jul 2010 at 11:06
Original comment by dong.w.xie@gmail.com
on 7 Jul 2010 at 11:08
Original issue reported on code.google.com by
dong.w.xie@gmail.com
on 7 Jul 2010 at 10:47