-
Notifications
You must be signed in to change notification settings - Fork 130
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
Subsample has uncaught assertion in ncov #1598
Comments
Given the timing, release of #1454 yesterday was my initial suspicion. That PR moved this code around and I thought maybe the conditions got messed up in the change to A deeper inspection shows that it's unrelated and I believe the timing is just coincidence. The error is an approximation issue that can be fixed by addressing #1588: 400 / 406
# 0.9852 <- "exact" target_group_size is less than 1 which will pass the assertion
augur.filter.subsample._calculate_fractional_sequences_per_group(400, [1,]*406)
# 1.0254 <- "approximated" target_group_size is greater than 1 which fails the assertion |
Interesting, thanks for the quick investigation! |
Yesterday's scheduled run was successful. I downloaded the relevant log file for the failing run and the flanking succeeding runs
and confirmed that this is due to approximation issue:
|
ncov errors last night. It seems to be related to filter/subsample?
Here's the log: https://github.com/nextstrain/ncov/actions/runs/10521511438/job/29152346864#step:5:1
The text was updated successfully, but these errors were encountered: