Skip to content

Use new (spec) input editors to replace legacy editors - #163

Open
walterxie wants to merge 5 commits into
masterfrom
estimate-cb
Open

Use new (spec) input editors to replace legacy editors#163
walterxie wants to merge 5 commits into
masterfrom
estimate-cb

Conversation

@walterxie

@walterxie walterxie commented Aug 31, 2026

Copy link
Copy Markdown
Member

See #157 and fix #162

Replaces the deprecated ParameterInputEditor with the spec
ScalarInputEditor/VectorInputEditor pair, and removes the now-unused
LegacyStandard.xml template.

  • Deregister ParameterInputEditor as an InputEditor service; register
    spec.VectorInputEditor.
  • Fix BeautiDoc.scrubAll() resolving SiteModelInputEditor.customConnector
    to the legacy class instead of spec.SiteModelInputEditor; update
    SubstModels.xml/Standard.xml connectors accordingly.
  • Remove LegacyStandard.xml.
  • Fix spec.ScalarInputEditor:
    • clock-rate check used legacy BranchRateModel.Base instead of spec Base
    • hyperprior "estimate" checkbox reveal checked RealScalarParam instead
      of ScalarDistribution, so it never showed for a prior's own
      hyperparameters (e.g. Gamma's alpha/theta)
  • Test coverage: FixedMeanRateTest now asserts the checkbox state itself,
    not just the operator's parameter list; added
    TensorDistributionInputEditorTest for Dirichlet incorrectly displayed in the Prior panel #160 (Dirichlet vs IID offering).

Follow-up not included here: VectorInputEditor has no hyperprior-reveal
branch, and BeautiConfig's hyperprior template still builds legacy
Prior/OneOnX/ScaleOperator objects instead of spec ones.

@walterxie
walterxie requested review from rbouckaert and removed request for rbouckaert August 31, 2026 04:28
@walterxie
walterxie requested a review from rbouckaert August 31, 2026 05:14
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.

New (spec) input editors are not replacing legacy editors

1 participant