Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
88cd9d3
Add study inventory script
Mar 11, 2026
0e7f8ae
Fix comment
Mar 11, 2026
98a1093
Update imports on Data Ingestion Tutorial
Mar 11, 2026
a8d5268
Updated cycle_loader with inventory support
Mar 12, 2026
2cbe0c2
Fix date time
Mar 12, 2026
ab0bc9e
add check for SPECT availability
Mar 19, 2026
a1f9483
Set config values to default if not-available
Mar 19, 2026
7e35c9c
Fix a few bugs with data loading and missing whole-body and remainder…
Mar 19, 2026
2a7a429
Update dvk to read Graves et al. kernels
Mar 22, 2026
a850b82
Update dvk to read Graves et al. kernels
Mar 24, 2026
15bf390
Update to resample TIA to kernel grid
Mar 24, 2026
5bdf9b7
Patch NM data loading to correct count/activity if reference is diffe…
Mar 24, 2026
fc782d9
Better documentation of mass-density reweighting of kernel
Mar 24, 2026
1e73a1d
End-to-end validation test
Mar 24, 2026
9712850
Voxel-S Lu-177 Dosimetry Tutorial
Mar 27, 2026
644b988
Update project toml
Mar 27, 2026
425a4ad
Update gitignore
Mar 27, 2026
df5e20a
pre-commit hooks updates (flake8, black, etc.)
Mar 27, 2026
7a2c416
Fix docstyle
Mar 27, 2026
1356c5d
Fix test dvk
Mar 27, 2026
5cbfbb9
Update with numpy docstrings
Mar 27, 2026
b7ae74f
Merge branch 'dev' into plef-fix-missmatch
Mar 27, 2026
118517f
Remove rstruct test segmentations from repo
Aug 11, 2026
af98979
Update end-to-end dosimetry test with zenodo rtstructs
Aug 11, 2026
bb8e6ee
Update test to use explicitly downloaded rtstrucs.
Aug 11, 2026
24b8e3c
Show verbose on skipped tests on CI
Aug 11, 2026
3266221
Add guidance before PR
Aug 11, 2026
023d02a
Update end-to-end test to ensure only skips on CI if data can't be fe…
Aug 11, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
run: pre-commit run --all-files

- name: Run pytest
run: pytest
run: pytest -rs
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ dmypy.json
# Pyre type checker
.pyre/

# VS Code settings
.vscode

# Other
Notebooks
Expand All @@ -137,4 +139,5 @@ pytheranostics/local
pytheranostics/.vscode

pytheranostics/data/s-values
pytheranostics/data/ICRP_phantom_masses
pytheranostics/data/ICRP_phantom_masses
pytheranostics/data/voxel_kernels
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ Once your environment is set up, you can use these commands:
# Run all tests
pytest

# Run the external voxel dosimetry validation test before opening a PR
pytest tests/test_voxel_dosimetry_validation.py -rs

# Run only smoke tests (fast)
pytest -m smoke

Expand All @@ -121,6 +124,13 @@ pre-commit run --all-files
pytest -m smoke && black --check . && isort --check-only . && flake8 && mypy pytheranostics
```

The voxel dosimetry validation test downloads the SNMMI Deep Blue dataset and
RT-STRUCT files from Zenodo. GitHub Actions may skip this test if Deep Blue
rejects CI-hosted downloads, so contributors should run it locally before
opening a pull request. Outside CI, SNMMI data-fetch failures are treated as
test failures rather than skips. Zenodo RT-STRUCT download or validation
failures are always test failures when the validation test runs.

### Type Checking with Mypy

Mypy is configured in `pyproject.toml` to be development-friendly (ignores missing imports by default). For focused development:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"# Imports\n",
"from pathlib import Path\n",
"import pytheranostics as tx\n",
"from pytheranostics.ImagingDS.dicom_ingest import auto_setup_dosimetry_study, extract_patient_metadata\n",
"from pytheranostics.imaging_ds.dicom_ingest import auto_setup_dosimetry_study, extract_patient_metadata\n",
"\n",
"print('PyTheranostics version:', getattr(tx, '__version__', 'unknown'))"
]
Expand Down Expand Up @@ -201,8 +201,14 @@
}
],
"metadata": {
"kernelspec": {
"display_name": ".pyThera-DBG",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python"
"name": "python",
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down
Loading
Loading