Skip to content

Verify bModelTest BEAUti template and input editors under BEAST 3 (blocks v1.4.0-beta1) #7

Description

@alexeid

The BEAST 3 migration is merged to master and everything that can be checked automatically is green — but the BEAUti side has never been exercised by a human at any point in the migration. It is the last thing standing between us and tagging v1.4.0-beta1.

@walterxie — would you be able to run this?

Why it needs a person

The two input editors are user-facing and have no test coverage:

  • bmodeltest.app.beauti.BEASTModelTestInputEditor
  • bmodeltest.app.beauti.NucleotideRevJumpSubstModelRatePriorInputEditor

They build their UI reflectively against the model — BEASTModelTestInputEditor reaches into substModel.modelChoiseInput and freqs.empiricalInput, and navigates into the pane hierarchy (pane.getChildren().get(0)) to insert its controls. None of that fails at compile time, and the migration moved the underlying model to the beast.base.spec API, so a mismatch would only show up when the panel is actually rendered.

The fxtemplate (src/main/resources/bmodeltest/fxtemplates/bModelTest.xml) was also rewritten to spec parameter types and has only been checked by the static scanner.

How to run it

From a checkout of master:

mvn exec:exec -Dbeast.module=beast.fx -Dbeast.main=beastfx.app.beauti.Beauti

What to check

  1. BEAUti starts and the bModelTest template can be selected.
  2. Load an alignment, then open the Site Model panel.
  3. The bModelTest site model panel renders, including the "Model set:" dropdown and the "Frequencies:" checkbox that BEASTModelTestInputEditor adds.
  4. Changing the model set and the frequencies option does not throw (check the console).
  5. Save the XML and confirm it runs: mvn exec:exec "-Dbeast.args=-overwrite <saved>.xml" — it should reach the sampling loop with a finite starting likelihood.

State of everything else

If the panel renders and a BEAUti-generated XML runs, we can tag v1.4.0-beta1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions