Skip to content

fix ebsp beauti bug #168 - #170

Merged
rbouckaert merged 1 commit into
masterfrom
ebsp2
Sep 14, 2026
Merged

rbouckaert merged 1 commit into
masterfrom
ebsp2

Conversation

@walterxie

Copy link
Copy Markdown
Member

Fix #168

Simply add factor.t:$(n) to handle multiple partitions.

                <distribution id="ExtendedBayesianSkyline.t:X" spec="Coalescent">
                    <populationModel id="scaledDemo.t:X" spec="beast.base.spec.evolution.tree.coalescent.ScaledPopulationFunction">
                        <population id="demographic.alltrees" spec="beast.base.spec.evolution.tree.coalescent.CompoundPopulationFunction" populationIndicators="@indicators.alltrees" populationSizes="@popSizes.alltrees">
                            <itree id="treeIntervals.t:X" spec="beast.base.evolution.tree.TreeIntervals" tree="@Tree.t:X"/>
                            <itree id="treeIntervals.t:mt" spec="beast.base.evolution.tree.TreeIntervals" tree="@Tree.t:mt"/>
                            <itree id="treeIntervals.t:nuclear" spec="beast.base.evolution.tree.TreeIntervals" tree="@Tree.t:nuclear"/>
                        </population>
                        <factor id="factor.t:X" spec="beast.base.spec.inference.parameter.RealScalarParam" domain="PositiveReal" estimate="false" value="1.5"/>
                    </populationModel>
                    <treeIntervals idref="treeIntervals.t:X"/>
                </distribution>
                <distribution id="ExtendedBayesianSkyline.t:mt" spec="Coalescent" treeIntervals="@treeIntervals.t:mt">
                    <populationModel id="scaledDemo.t:mt" spec="beast.base.spec.evolution.tree.coalescent.ScaledPopulationFunction" population="@demographic.alltrees">
                        <factor id="factor.t:mt" spec="beast.base.spec.inference.parameter.RealScalarParam" domain="PositiveReal" estimate="false" value="0.5"/>
                    </populationModel>
                </distribution>
                <distribution id="ExtendedBayesianSkyline.t:nuclear" spec="Coalescent" treeIntervals="@treeIntervals.t:nuclear">
                    <populationModel id="scaledDemo.t:nuclear" spec="beast.base.spec.evolution.tree.coalescent.ScaledPopulationFunction" population="@demographic.alltrees">
                        <factor id="factor.t:nuclear" spec="beast.base.spec.inference.parameter.RealScalarParam" domain="PositiveReal" estimate="false" value="2.0"/>
                    </populationModel>
                </distribution>

@rbouckaert
rbouckaert merged commit c139be7 into master Sep 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Need the replacement of ConstantInputEditor

2 participants