Skip to content
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

Reenable tree confidence intervals #1577

Merged
merged 1 commit into from
Oct 21, 2022
Merged

Conversation

jameshadfield
Copy link
Member

Previously we checked for the presence of temporal confidence intervals on the first node (nodes[0]). Prior to auspice handling subtrees (arrays of trees), nodes[0] was guaranteed to be the root node, but this is no longer the case. Checking a single node wasn't the best approach anyway as we should check for any node with confidence set, which this commit now does.

Previously we checked for the presence of num_date confidence on the
first node (nodes[0]). Prior to auspice handling subtrees (arrays of
trees), nodes[0] was guaranteed to be the root node, but this is no
longer the case. Checking a single node wasn't the best approach anyway
as we should check for _any_ node with confidence set, which this
commit now does.
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-bug-date-confid-yfygzu October 20, 2022 20:58 Inactive
@jameshadfield
Copy link
Member Author

Tested using the review app via slack

@jameshadfield jameshadfield merged commit 6b31ab7 into master Oct 21, 2022
@jameshadfield jameshadfield deleted the bug/date-confidence branch October 21, 2022 01:15
@emmahodcroft
Copy link
Member

Thanks so much James!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants