Skip to content

refactor(voronoi): enforce use_blind_points deprecation and clean up tests/reference data - #593

Open
M-Colley wants to merge 1 commit into
PedestrianDynamics:mainfrom
M-Colley:refactor/deprecate-voronoi-blind-points
Open

M-Colley wants to merge 1 commit into
PedestrianDynamics:mainfrom
M-Colley:refactor/deprecate-voronoi-blind-points

Conversation

@M-Colley

Copy link
Copy Markdown

Summary

Fixes #551

Completes the deprecation cleanup of use_blind_points in compute_individual_voronoi_polygons:

  • Use an internal sentinel default (_UNSET) so passing any value for use_blind_points (True, False, or None) emits a DeprecationWarning, while omitting the argument emits no warning.
  • Simplify TestBlindPointsDeprecation in ests/unit_tests/methods/test_compute_individual_voronoi_polygons.py to test deprecation emission ([True, False, None]) and warning-free omission, removing tests specific to use_blind_points behavior.
  • Remove use_blind_points arguments and the two blind-point-specific reference test functions from ests/reference_tests/reference_test.py.
  • Remove the 6 obsolete _blind_points.dat reference data files under ests/reference_tests/data/.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate blind point parameter in Voronoi compuation

1 participant