FQN MRCAPrior to its beast.base.spec.* equivalent#12
Open
alexeid wants to merge 1 commit into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two example XMLs reference
beast.base.evolution.tree.MRCAPriordirectly viaspec=. That class is@Deprecatedin beast3; the replacement lives atbeast.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@DeprecatedFQN 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.