Switch AscertainedForParsimonyUninformativeFilteredAlignment to spec FilteredAlignment#19
Open
Switch AscertainedForParsimonyUninformativeFilteredAlignment to spec FilteredAlignment#19
Conversation
…FilteredAlignment beast.base.evolution.alignment.FilteredAlignment is @deprecated in beast3 and replaced by beast.base.spec.evolution.alignment.FilteredAlignment. The spec class still extends Alignment (the legacy StateNode, not itself deprecated), so all the inherited fields the override relies on — isAscertainedInput, excludefromInput, excludetoInput, setupAscertainment() — remain available unchanged. Only the import and extends clause needed updating. mvn test: 8/8 pass. Found via the beast3-migration analyzer: the only remaining Java migration item for morph-models.
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
beast.base.evolution.alignment.FilteredAlignmentis@Deprecatedin beast3 with a Javadoc pointer tobeast.base.spec.evolution.alignment.FilteredAlignment. This was the only remaining Java migration item formorph-models— surfaced by the beast3-migration analyzer.The spec
FilteredAlignmentstill extends the (non-deprecated)Alignment, so all the inherited fields the existing override relies on —isAscertainedInput,excludefromInput,excludetoInput,setupAscertainment()— remain available unchanged. Only the import andextendsclause needed updating; one line of real change.Test plan
mvn test— 8/8 pass (LewisMKTest)mvn -q -DskipTests compileandtest-compile— cleanFilteredAlignmentpreserves)