Commit 91e45c2
committed
fix: Handle flaky test_pairwise_average_fst_with_sample_query
Random taxon + admin2_month cohort selection can produce zero valid
cohorts for small simulated datasets. Skip gracefully instead of
failing when ValueError('No cohorts remain') is raised.1 parent 2bde580 commit 91e45c2
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
351 | 359 | | |
352 | 360 | | |
353 | 361 | | |
| |||
0 commit comments