Hi
I have added a continuous trait to the Gavryshkina et al penguin dataset in BEAST2 (all the same value - 0.52, for reasons discussed below) and runs fine; note you need to use the -java option to avoid null pointer errors. However, I noticed two issues
(1) There is an error message "AbstractMultivariateTraitLikelihood: likelihood is infinite". But when you look at the log file e.g. in Tracer, the likelihood for the continuous trait (LocationTreeLikelihood.continuousTrait.joint) is a normal negative number, not infinity. The total likelihood also makes sense: it is the sum of the discrete character partition likelihoods, and the continuous trait likelihood. So question 1 is, should we just disregard the error message?
(2) If you used the SABD tree prior, the number of sampled ancestors always drops to 0 when you add the continuous trait. This is not due to the new continuous data making ancestors less likely - in the xml file attached, every terminal has a continuous trait value of 0.52, hence the new data should not reduce the likelihood of direct ancestors. So question 2 is, does SABD work with continous traits?
Cheers, Mike Lee