Skip to content

Auto-infer mask contour thickness and consolidate tests folder#40

Merged
clemsgrs merged 2 commits intomainfrom
codex/consolidate-tests-and-auto-thickness
Feb 14, 2026
Merged

Auto-infer mask contour thickness and consolidate tests folder#40
clemsgrs merged 2 commits intomainfrom
codex/consolidate-tests-and-auto-thickness

Conversation

@clemsgrs
Copy link
Owner

Summary

  • make tissue/hole mask contour thickness fully automatic based on level-0 WSI dimensions and visualization scale
  • remove manual line_thickness argument from WholeSlideImage.visualize_mask
  • add targeted tests for adaptive thickness behavior and API breakage
  • consolidate legacy test/ into a single tests/ folder (including fixtures/helpers)
  • update pytest discovery and CI workflow to use tests/

Testing

  • /Users/clems/Code/venv/hs2p/bin/python -m pytest /Users/clems/Code/hs2p/tests -q
  • /Users/clems/Code/venv/hs2p/bin/python -m pytest /Users/clems/Code/hs2p/tests/test_visualize_mask_thickness.py -q
  • /Users/clems/Code/venv/hs2p/bin/python -m pytest /Users/clems/Code/hs2p/tests/test_real_fixture_smoke_regression.py -q

@clemsgrs clemsgrs merged commit cc8309a into main Feb 14, 2026
1 check passed
@clemsgrs clemsgrs deleted the codex/consolidate-tests-and-auto-thickness branch February 14, 2026 14:08
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.

1 participant