Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ repos:
pass_filenames: false
files: ^src/

# Strip notebook outputs and widget state when notebooks are committed
- repo: local
hooks:
- id: prepare-notebooks-for-commit
name: Prepare notebooks for commit (strip outputs and widget state)
entry: python utils/prepare_notebooks_for_commit.py
language: system
pass_filenames: false
files: \.ipynb$

# Local tests (optional - can be disabled if too slow)
- repo: local
hooks:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ pytest tests/ -m "not slow and not requires_data" -v
pytest tests/test_usd_merge.py -v # USD merge functionality
pytest tests/test_usd_time_preservation.py -v # Time-varying data preservation
pytest tests/test_register_images_ants.py -v # ANTs registration
pytest tests/test_register_images_greedy.py -v # Greedy registration
pytest tests/test_register_images_icon.py -v # Icon registration
pytest tests/test_register_time_series_images.py -v # Time series registration
pytest tests/test_segment_chest_total_segmentator.py -v # TotalSegmentator
Expand Down
1 change: 1 addition & 0 deletions docs/developer/architecture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ The package is organized into functional modules:
│ ├── Image Registration
│ │ ├── register_images_base.py Base registration
│ │ ├── register_images_ants.py ANTs registration
│ │ ├── register_images_greedy.py Greedy registration
│ │ ├── register_images_icon.py ICON registration
│ │ └── register_time_series_images.py Time series
│ │
Expand Down
2 changes: 2 additions & 0 deletions docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Specific Test Modules

# Registration (slow, ~5-10 minutes each)
pytest tests/test_register_images_ants.py -v
pytest tests/test_register_images_greedy.py -v
pytest tests/test_register_images_icon.py -v
pytest tests/test_register_time_series_images.py -v

Expand Down Expand Up @@ -107,6 +108,7 @@ Tests are organized by functionality:
├── Registration Tests (Slow ~5-10 min)
│ ├── test_register_images_ants.py # ANTs registration
│ ├── test_register_images_greedy.py # Greedy registration
│ ├── test_register_images_icon.py # Icon registration
│ └── test_register_time_series_images.py # Time series registration
Expand Down
Loading
Loading