Skip to content

Commit 410559f

Browse files
committed
Bugfix
1 parent aabe695 commit 410559f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def run(self):
6363
long_description = fh.read()
6464

6565
setuptools.setup(
66-
version='1.4.12', # also update version in metrics.py -> version
66+
version='1.4.13', # also update version in metrics.py -> version
6767
author_email='Joeran.Bosma@radboudumc.nl',
6868
long_description=long_description,
6969
long_description_content_type="text/markdown",

src/picai_eval/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def calculate_ROC(self, subject_list: Optional[List[str]] = None) -> Dict[str, A
325325
'AUROC': auroc,
326326
}
327327

328-
def bootstrap_score_ci(self, n_bootstraps: int = 1000, seed: int | None = None) -> Dict[str, float]:
328+
def bootstrap_score_ci(self, n_bootstraps: int = 1000, seed: Union[int, None] = None) -> Dict[str, float]:
329329
"""
330330
Calculate confidence intervals for AUROC, AP and ranking score using bootstrapping.
331331
"""

tests/Development-README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ AutoPEP8 for formatting (this can be done automatically on save, see e.g. https:
2929
# Push release to PyPI
3030
1. Increase version in setup.py, and set below
3131
2. Build: `python -m build`
32-
3. Test package distribution: `python -m twine upload --repository testpypi dist/*1.4.12*`
33-
4. Distribute package to PyPI: `python -m twine upload dist/*1.4.12*`
32+
3. Test package distribution: `python -m twine upload --repository testpypi dist/*1.4.13*`
33+
4. Distribute package to PyPI: `python -m twine upload dist/*1.4.13*`

0 commit comments

Comments
 (0)