Comments (2)
@MordorianGuy you are right that data
or alignment
makes more sense -- however, for reasons of backward compatibility, it is not easy to change this. All BEAST v2.7.x compatible XML should still run on BEAST v2.7.y for y>x. There are a few more inconsistencies in Input names (e.g. start as capital in IsLabeledNewick
in TreeParser
, and these should be the same names: BeautiSubTemplate.suppressInputs
BeautiConfig.suppressPlugins
)
It can be achieved by adding an extra Input and deprecating the old one, or creating a new type of input that is known by more than one name (taxa
and data
for example), or perhaps some other mechanism for redirecting the Input values to the original Input. Not sure what the optimal solution is to remain both backward compatible and allow introduction of input name changes.
from beast2.
@MordorianGuy you are right that
data
oralignment
makes more sense -- however, for reasons of backward compatibility, it is not easy to change this. All BEAST v2.7.x compatible XML should still run on BEAST v2.7.y for y>x. There are a few more inconsistencies in Input names (e.g. start as capital inIsLabeledNewick
inTreeParser
, and these should be the same names:BeautiSubTemplate.suppressInputs
BeautiConfig.suppressPlugins
)It can be achieved by adding an extra Input and deprecating the old one, or creating a new type of input that is known by more than one name (
taxa
anddata
for example), or perhaps some other mechanism for redirecting the Input values to the original Input. Not sure what the optimal solution is to remain both backward compatible and allow introduction of input name changes.
Thank you for your answer!
Yes, you are right: the backward compatibility is hard. I have thought more about something like regex switches between versions applying to parsed XML based on the version attribute of the beast tag. If we definitely know what we changed between specific versions, we may apply these changes consequently to adjust an old XML to new standards. At least if we talk about simple renaming.
from beast2.
Related Issues (20)
- How can I find out number of patterns and number of partitions from my input file without running Beast2? HOT 6
- java.lang.Error: randomChoiceUnnormalized falls through -- negative components in input distribution? HOT 2
- AdaptableOperatorSampler should ignore operators with zero weight
- BEAST apps don't launch on Windows 10 HOT 4
- Add CCD package to list of recommended packages HOT 4
- BEAST 2.7.6 not launching on Mac
- BEAST.base installation
- Randomizer per thread for deterministic behaviour when using threads HOT 1
- Clarification about Trees and StateNodeInitialiser HOT 4
- TreeAnnotator does not respond to TargetTreeType in GUI
- BEAUti error importing alignment HOT 1
- error in parsing xml with no prior manual editing HOT 2
- .xml.state not found HOT 5
- Resume problem for monophyletic HOT 5
- Likelihood incorrectly calculated error HOT 5
- Hiccups with preparing package for testing HOT 1
- Make Alignment a StateNode
- no main manifest attribute on newer release
- Prep for v2.7.7 release
- Feature request: partial monophyly constraints HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beast2.