Skip to content

refactor: remove SpatialPad, ensure patch size fits all volumes#60

Merged
skaliy merged 5 commits intomainfrom
dev
Feb 9, 2026
Merged

refactor: remove SpatialPad, ensure patch size fits all volumes#60
skaliy merged 5 commits intomainfrom
dev

Conversation

@skaliy
Copy link
Copy Markdown
Member

@skaliy skaliy commented Feb 9, 2026

  • Remove SpatialPad transform and automatic padding from patch workflow
  • suggest_patch_size() now clamps to min(median, min_volume) per axis, guaranteeing patches fit all volumes without runtime padding
  • Add tio_transform to NormalizeIntensity and RandomIntensityScale for patch-based workflow compatibility
  • Expand patch-based training tutorial (12a)
  • Bump version to 0.6.3

- Remove SpatialPad transform and automatic padding from patch workflow
- suggest_patch_size() now clamps to min(median, min_volume) per axis,
  guaranteeing patches fit all volumes without runtime padding
- Add tio_transform to NormalizeIntensity and RandomIntensityScale
  for patch-based workflow compatibility
- Expand patch-based training tutorial (12a)
- Bump version to 0.6.3
Python 3.12 with modern setuptools no longer bundles pkg_resources,
causing CI build failures. Cap supported versions at 3.10-3.11.
setuptools 81+ removed pkg_resources, breaking CI builds.
Replace with packaging.version.Version and add packaging
to pyproject.toml build requirements.
- Pin nbdev<3 in dev_requirements to prevent nbdev 3.x upgrade
  which is incompatible with this nbdev 2.x project
- Remove requires-python upper bound (<3.12) to allow CI on Python 3.12
Run nbdev_prepare to clean notebook cell metadata and
sync __init__.py version (0.6.1 → 0.6.3).
@skaliy skaliy merged commit 7c0444d into main Feb 9, 2026
2 checks passed
@skaliy skaliy deleted the dev branch February 9, 2026 10:36
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