pypi pylocuszoom 1.3.2
v1.3.2

latest releases: 5.4.1, 5.4.0, 5.3.0...
9 months ago

Error Handling Hardening & Dead Code Removal

Changed

  • BREAKING: get_backend() now raises ImportError when 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_error correctly raises after retry exhaustion on 429/503
  • Ensembl API handles malformed JSON responses gracefully
  • disable_logging() no longer suppresses logger.error() calls
  • PLINK subprocess calls now have a 5-minute timeout
  • Narrowed except Exception in recombination download to specific types

Removed

  • Dead _create_figure() method from LocusZoomPlotter (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

Don't miss a new pylocuszoom release

NewReleases is sending notifications on new releases.