Skip to content

FQN MRCAPrior to its beast.base.spec.* equivalent#12

Open
alexeid wants to merge 1 commit into
4ment:masterfrom
alexeid:mrcaprior-spec-fqn
Open

FQN MRCAPrior to its beast.base.spec.* equivalent#12
alexeid wants to merge 1 commit into
4ment:masterfrom
alexeid:mrcaprior-spec-fqn

Conversation

@alexeid
Copy link
Copy Markdown
Contributor

@alexeid alexeid commented May 12, 2026

Summary

Two example XMLs reference beast.base.evolution.tree.MRCAPrior directly via spec=. That class is @Deprecated in beast3; the replacement lives at beast.base.spec.evolution.tree.MRCAPrior. After this change flc has no remaining references to deprecated classes in any of its XMLs or fxtemplates.

The substitution was surfaced by the new deprecated-class-reference pass in CompEvol/beast3-migration, which now cross-references every spec= and <map> value in tracked XMLs against the global @Deprecated FQN registry and suggests spec replacements where the same simple name exists under .spec..

Test plan

  • mvn -q compile && mvn -q exec:exec -Dbeast.args="-overwrite examples/Human.H3.81-98-elc-StrictClock.xml" runs end-to-end (verified locally with a temporary 50k chainLength, restored to 10M before commit). The other example uses the same FQN substitution.
  • CI on this branch.

The legacy beast.base.evolution.tree.MRCAPrior is @deprecated; its
replacement lives in the spec namespace. Two example XMLs each had
one such reference. Verified end-to-end via mvn exec:exec with a 50k
temporary chainLength on the StrictClock example (restored to 10M
before commit); the other example uses the same FQN substitution.

Surfaced by the new deprecated-class-reference scan in
beast3-migration's XmlScanner.
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.

1 participant