Commit a44cfd2
committed
fix: rename loop variable to avoid shadowing contig parameter
In plot_h12_gwss_multi_overlay_track(), the for-loop unpacking
reused the name 'contig' for the array of contig indices returned
by h12_gwss(). This overwrote the function parameter (a string
like '2L'), causing _bokeh_style_genome_xaxis() to receive a
NumPy array and render a corrupted x-axis label.
Rename the loop variable to contig_idx to preserve the original
parameter value.
Fixes #9931 parent 5b82f0b commit a44cfd2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| |||
0 commit comments