Commit 8b9b8d9
khushthecoder
fix: guard heatmap non-unique index test against single-row DataFrames
When the frequency DataFrame has only one row (e.g., due to sample
query filtering), the "contig" column is unique, so passing
index="contig" does not raise ValueError. Only assert the error when
the contig values are actually non-unique.
This fixes a flaky test failure in
test_gene_cnv_frequencies_with_str_cohorts_and_sample_query.1 parent a78e8b4 commit 8b9b8d9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments