Commit 9acc59f
committed
fix: Add min_cohort_size=0 to variant_query test for amin1_sim compatibility
For amin1_sim (single-sampleset with few samples), the default
min_cohort_size=10 filters out all cohorts, raising ValueError before
the variant_query path is reached. This prevents the expected
UserWarning from being emitted, causing the test to fail with
'DID NOT WARN'. Setting min_cohort_size=0 ensures cohorts are
available so the variant query empty-result warning can be tested.1 parent 9c5d736 commit 9acc59f
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1529 | 1529 | | |
1530 | 1530 | | |
1531 | 1531 | | |
| 1532 | + | |
1532 | 1533 | | |
1533 | 1534 | | |
1534 | 1535 | | |
| |||
1539 | 1540 | | |
1540 | 1541 | | |
1541 | 1542 | | |
| 1543 | + | |
1542 | 1544 | | |
1543 | 1545 | | |
1544 | 1546 | | |
| |||
0 commit comments