Repository navigation
Conversation
The alignment used the taxon: "sequence" shorthand, which relies on Alignment being a name/value Map (TreeTipData). BEAST 3 removed that base class, so the example no longer loads there. List the sequences as Sequence objects instead, as testHKY.json does. The data are unchanged: with the same seed BEAST 2.7.7 gives identical traces.
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.
examples/testUCLNclock.jsonwrites its alignment with the shorthandCarp: "ATGG…", one key per taxon. That works in BEAST 2 becauseAlignmentextendsTreeTipData, a name/valueMap, so unknown keys become sequences. BEAST 3 removedMapandTreeTipData(beast3a37b3b2), so there the file fails with "This BEASTInterface (dna) has no input with name Carp".This PR lists the ten sequences explicitly as
Sequenceobjects (sequence: [{spec: "Sequence", totalcount: 4, taxon: "Carp", value: "…"}, …]), the formtestHKY.jsonalready uses. Nothing else changes.Tested
With this and #1227, all 44 top-level examples load in BEAST 2.7.7, and every one except testSliceHKY (
SliceOperator, removed from BEAST 3) loads in BEAST 3 once CompEvol/beast3#235 (restoringTreeHeightLoggeras a deprecated class) is in (CompEvol/beast3-test).