Error Handling Hardening & Dead Code Removal
Changed
- BREAKING:
get_backend()now raisesImportErrorwhen plotly/bokeh is not installed instead of silently falling back to matplotlib - BREAKING: Removed
add_recombination_overlay()standalone function — use the backend's method instead (called automatically by the plotter) - Recombination overlay rendering moved into backend protocol — all three backends implement it directly
- PLINK subprocess failures now log at ERROR level with full stderr
Fixed
transform_pvalues()now filters NaN and out-of-range p-values instead of warn-and-proceed- LD merge uses
validate='many_to_one'to prevent silent row duplication - Ensembl API
raise_on_errorcorrectly raises after retry exhaustion on 429/503 - Ensembl API handles malformed JSON responses gracefully
disable_logging()no longer suppresseslogger.error()calls- PLINK subprocess calls now have a 5-minute timeout
- Narrowed
except Exceptionin recombination download to specific types
Removed
- Dead
_create_figure()method fromLocusZoomPlotter(48 lines)
Security
- Upgraded Pillow 12.1.0 → 12.1.1 (CVE fix for PSD out-of-bounds write)
Full Changelog: v1.3.1...v1.3.2