Returning specific tip dates in logs (FBD+SA)

57 views
Skip to first unread message

Jo Baker

unread,
Apr 15, 2025, 2:09:28 PM4/15/25
to beast-users
Dear all, 

I have specified a FBD analysis incorporating sampled age ranges using the following code syntax which is working perfectly as expected.

<operator spec="sa.evolution.operators.SampledNodeDateRandomWalker" windowSize="1" tree="@Tree.t:fbd_tree" treeWOffset="@treeWOffset" weight ="10" taxonset="@taxonset.all">
    <samplingDates id="Taxon1.Date" spec="sa.evolution.tree.SamplingDate" taxon="Taxon1" upper="0.5" lower="0.3"/>
</operator

However, I can't seem to find the right syntax to add estimated tip dates to the log file. I seem to be missing something that converts 'SamplingDate's into a loggable object - but cannot find any documentation on how to do so. Could somebody please advise on how to do this? 

For example, both of the following commands:

<log id="test.date" spec="sa.evolution.tree.SamplingDate" taxon="Taxon1"/>
<log idref="Taxon1.Date"/>

 return an identical following error:

type mismatch for input log. beast.base.core.Loggable.isAssignableFrom(class sa.evolution.tree.SamplingDate)=false expected 'Loggable' but got 'SamplingDate'

Thanks in advance for your help,

Omar Idris

unread,
Apr 16, 2025, 11:05:28 PM4/16/25
to beast...@googlegroups.com
It has to do with lovable versus .SamplingDate

ONI


--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/beast-users/6278a5fd-d2e6-43d2-bf91-37a9031433e7n%40googlegroups.com.

Jo Baker

unread,
Apr 19, 2025, 2:07:46 PM4/19/25
to beast...@googlegroups.com
Sorry I'm not sure I understand what you mean. Have you managed to identify what id would be need to convert the sampled dates to a loggable value?

Reply all
Reply to author
Forward
0 new messages