Skip to content

Commit

Permalink
Bugfix JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
joeranbosma committed Dec 10, 2024
1 parent 9544f73 commit 453f774
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
long_description = fh.read()

setuptools.setup(
version='2.1.9',
version='2.1.10',
author_email='Joeran.Bosma@radboudumc.nl',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
8 changes: 8 additions & 0 deletions src/picai_prep/resources/mha2nnunet_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@
"description": "Only crop to specified size (i.e., do not pad)",
"type": "boolean"
},
"scan_interpolator": {
"description": "Interpolator for scans",
"type": "integer",
},
"lbl_interpolator": {
"description": "Interpolator for labels",
"type": "integer",
},
},
"additionalProperties": False
},
Expand Down
4 changes: 2 additions & 2 deletions tests/Development-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ AutoPEP8 for formatting (this can be done automatically on save, see e.g. https:
# Push release to PyPI
1. Increase version in setup.py, and set below
2. Build: `python -m build`
3. Test package distribution: `python -m twine upload --repository testpypi dist/*2.1.0*`
4. Distribute package to PyPI: `python -m twine upload dist/*2.1.0*`
3. Test package distribution: `python -m twine upload --repository testpypi dist/*2.1.10*`
4. Distribute package to PyPI: `python -m twine upload dist/*2.1.10*`

0 comments on commit 453f774

Please sign in to comment.