-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve two operators, and provide a starting tree generator #19
base: master
Are you sure you want to change the base?
Conversation
Anaphory
commented
Mar 23, 2021
- Compute logs earlie, to avoid overflow errors
- Allow sampled ancestors to not sample every leaf (even contemporary leaves!) but only a given list.
In linguistics, we tend to measure times in years, so heights are in the order of magnitude of 100s to 1000s, not the 0.1My often found in biology. In order to avoid overflow errors, the log should be taken ASAP, and in fact this does not make the computation more expensive.
Currently, this commit fails, because in CompEvol/beast2@e861d5e#diff-83eae796a2334747cb46384b066fe7678ffd80b08c228c6d704041a57a12ac9bL99-L101 the recently introduced method |
I think the method should be changed back to isTreeScaler, which was its original name, and a more natural one.
… On 26/03/2021, at 2:20 AM, Gereon Kaiping ***@***.***> wrote:
Currently, this commit fails, because in ***@***.***#diff-83eae796a2334747cb46384b066fe7678ffd80b08c228c6d704041a57a12ac9bL99-L101 <CompEvol/beast2@e861d5e#diff-83eae796a2334747cb46384b066fe7678ffd80b08c228c6d704041a57a12ac9bL99-L101> the recently introduced method isTreeScaler was renamed to m_bIsTreeScaler, in a commit that was otherwise only touches version numbers. It looks like a search-and-replace gone awry ***@***.*** <https://github.com/alexeid> & @tgvaughan <https://github.com/tgvaughan>, what do you think?) so I'm hesitant to fix this code to use the new method name.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAG5MSOOU47PL3PVQOIT6HLTFM2BBANCNFSM4ZWCVV3Q>.
|
This should fix one of the symptoms of CompEvol/beast2#984 and also CompEvol#16
I have added the suggested small modification I mentioned in #16 to be able to use |
e11c48a
to
6b2b5e1
Compare
The SAWilsonBalding operator was permitted to turn sampled ancestors into normal tips. For an analysis where certain tips should be kept sampled ancestors, add a Boolean input (default: false) that aborts the operator proposal when it is about to do this change.
Do you still want to merge this, or should I make a separate package for it? |