Summary
Mark the use_blind_points parameter in compute_individual_voronoi_polygons as officially deprecated, clean up all test usages, and ensure a DeprecationWarning is emitted when the parameter is passed.
Background / Context
use_blind_points has no effect on the computation and was kept for backwards compatibility. It is already documented as deprecated in the docstring, but the deprecation is not consistently enforced across the codebase — reference tests still pass it without expecting a warning.
Technical Details
- Parameter lives in
pedpy/methods/method_utils.py — deprecation warning already emitted when the parameter is not None
- Reference tests in
tests/reference_tests/reference_test.py still pass use_blind_points without pytest.warns
- Existing deprecation warning unit tests in
tests/unit_tests/methods/test_compute_individual_voronoi_polygons.py
Acceptance Criteria
Summary
Mark the
use_blind_pointsparameter incompute_individual_voronoi_polygonsas officially deprecated, clean up all test usages, and ensure aDeprecationWarningis emitted when the parameter is passed.Background / Context
use_blind_pointshas no effect on the computation and was kept for backwards compatibility. It is already documented as deprecated in the docstring, but the deprecation is not consistently enforced across the codebase — reference tests still pass it without expecting a warning.Technical Details
pedpy/methods/method_utils.py— deprecation warning already emitted when the parameter is notNonetests/reference_tests/reference_test.pystill passuse_blind_pointswithoutpytest.warnstests/unit_tests/methods/test_compute_individual_voronoi_polygons.pyAcceptance Criteria
use_blind_points(any value) emits aDeprecationWarningDeprecationWarninguse_blind_pointsbehavior are removeduse_blind_pointsuse_blind_pointsare removed