v1.1.0: bug fixes and repo cleanup#4
Merged
Conversation
Bug fixes: - Fix crosshair lines in standalone map SVG extending beyond the circle boundary into the %VBur label area (export.py now uses cx±r_px / cy±r_px, matching the overlay convention) - Fix sphere_radius/map_radius conflation in CLI pipeline: compute_steric_map, write_map_svg, and write_xyzrender_overlay_svg now each receive the correct parameter independently - Fix CSD radii fallback returning default*1.17 instead of default, making unknown-element behaviour inconsistent across radius sets Quality / hygiene: - Fix ruff format violation in tests/test_multi_xyz.py (was blocking CI) - Fix colorbar unit label (A) -> (Å) in visual.py - Fix fragile local import in scripts/run_examples.py via sys.path.insert - Replace logo SVG (SVG wrapper around a 5.9 MB embedded PNG) with the extracted PNG directly; update README reference - Consolidate duplicate dev dependency groups in pyproject.toml - Remove scripts/validate_references.py (superseded by test_validation.py and test_sambvca_examples.py) - Remove test_readme_steric_map_example_has_no_quadrant_labels which read committed assets rather than testing live code paths; covered by test_map_svg_quadrant_labels_are_opt_in using tmp_path
Coverage reporting is best-effort; a third-party GPG verification failure should not block merges.
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
JamesOBrien2
marked this pull request as ready for review
June 25, 2026 12:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Several bugs found during a post-release review, fixed alongside general repo tidying.
The crosshair lines in standalone map SVGs were drawn using the full SVG canvas extent rather than the circle boundary, causing them to overshoot into the %VBur label area. The
--map-radiusand--sphere-radiusparameters were being conflated in the CLI pipeline,compute_steric_mapand the map SVG writer were receiving the display radius instead of the analysis radius, so the two flags were not truly independent. The CSD radii fallback for unknown elements was returningdefault × 1.17rather thandefault, making the behaviour inconsistent with the Bondi sets. The colorbar unit label read(A)rather than(Å).On the repo side, the logo was an SVG file wrapping a 5.9 MB embedded PNG with no vector content, replaced here with the PNG directly. A developer script for validation was removed as it duplicated what the test suite already covers. Dependency group definitions in
pyproject.tomlwere consolidated. A test that read committed gallery assets rather than exercising live code was replaced by the equivalenttmp_path-based test that already existed.