Commit dc16a37
committed
fix: forward sample_query_options, chunks, and inline_array in multi-cohort H12 plots
## Summary of Changes
In `plot_h12_gwss_multi_panel()` and `plot_h12_gwss_multi_overlay_track()`, `sample_query_options` was accepted in the signature but not forwarded to downstream `h12_gwss()`/`plot_h12_gwss_track()` calls, causing user-supplied pandas query options to be silently discarded.
Additionally, this PR adds `chunks` and `inline_array` parameters to multi-cohort plotting functions for parity with their single-cohort counterparts.
- Forwards `sample_query_options` in `plot_h12_gwss_multi_panel` params dict
- Forwards `sample_query_options` in `plot_h12_gwss_multi_overlay_track` `h12_gwss()` calls
- Adds `chunks` and `inline_array` parameters to `plot_h12_gwss_multi_panel`, `plot_h12_gwss_multi_overlay_track`, and `plot_h12_gwss_multi_overlay`
- Adds test verifying `sample_query_options` forwarding in multi-cohort plotting functions
Closes #999
cc: @jonbrenas .1 parent 567c5da commit dc16a37
2 files changed
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| 561 | + | |
| 562 | + | |
561 | 563 | | |
562 | 564 | | |
563 | 565 | | |
| |||
585 | 587 | | |
586 | 588 | | |
587 | 589 | | |
| 590 | + | |
588 | 591 | | |
589 | 592 | | |
| 593 | + | |
| 594 | + | |
590 | 595 | | |
591 | 596 | | |
592 | 597 | | |
| |||
679 | 684 | | |
680 | 685 | | |
681 | 686 | | |
| 687 | + | |
| 688 | + | |
682 | 689 | | |
683 | 690 | | |
684 | 691 | | |
| |||
700 | 707 | | |
701 | 708 | | |
702 | 709 | | |
| 710 | + | |
| 711 | + | |
703 | 712 | | |
704 | 713 | | |
705 | 714 | | |
| |||
764 | 773 | | |
765 | 774 | | |
766 | 775 | | |
| 776 | + | |
| 777 | + | |
767 | 778 | | |
768 | 779 | | |
769 | 780 | | |
| |||
789 | 800 | | |
790 | 801 | | |
791 | 802 | | |
| 803 | + | |
792 | 804 | | |
793 | 805 | | |
794 | 806 | | |
| |||
799 | 811 | | |
800 | 812 | | |
801 | 813 | | |
| 814 | + | |
| 815 | + | |
802 | 816 | | |
803 | 817 | | |
804 | 818 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
0 commit comments