ENH: Rename *_tools modules and classes to process_* naming convention - #139
Conversation
Standardize the object-first `*_tools.py`/`*Tools` naming used throughout src/monai_physio/ to the verb-first convention used elsewhere in the project (workflow_train_physicsnemo.py, register_images_ants.py, segment_chest_total_segmentator.py). contour_tools/ContourTools -> process_contours/ProcessContours, and similarly for transform, test, image, physicsnemo, usd_anatomy, usd, labelmap, and landmark tools. data_download_tools/DataDownloadTools -> download_data/ DownloadData as a naming exception. Only import paths and PascalCase class names changed; lowercase instance attributes and pytest fixtures (self.image_tools, the contour_tools fixture, etc.) are unaffected. Corresponding Sphinx API pages and toctrees were moved and retargeted to match. Adds utils/rename_tools_to_process.py, a reusable git-mv + regex migration script, and records the break in docs/developer/migration_next.md per project policy.
|
Important Review skippedToo many files! This PR contains 211 files, which is 111 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (211)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Standardize the object-first
*_tools.py/*Toolsnaming used throughoutsrc/monai_physio/ to the verb-first convention used elsewhere in the project
(workflow_train_physicsnemo.py, register_images_ants.py,
segment_chest_total_segmentator.py).
contour_tools/ContourTools -> process_contours/ProcessContours, and similarly
for transform, test, image, physicsnemo, usd_anatomy, usd, labelmap, and
landmark tools. data_download_tools/DataDownloadTools -> download_data/
DownloadData as a naming exception.
Only import paths and PascalCase class names changed; lowercase instance
attributes and pytest fixtures (self.image_tools, the contour_tools fixture,
etc.) are unaffected. Corresponding Sphinx API pages and toctrees were moved
and retargeted to match.
Adds utils/rename_tools_to_process.py, a reusable git-mv + regex migration
script, and records the break in docs/developer/migration_next.md per
project policy.