Skip to content

Commit

Permalink
chore(sem-ver): 1.23.2
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release committed Feb 7, 2025
1 parent 155f59a commit 56b98ec
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# CHANGELOG


## v1.23.2 (2025-02-07)

### Bug Fixes

- Add function to handle out of bounds coordinates for a RegionBox in an image
([#221](https://github.com/bhklab/med-imagetools/pull/221),
[`155f59a`](https://github.com/bhklab/med-imagetools/commit/155f59aec7f2c625ab7cb4f90b97c203d4450abf))

This works the same way as `_adjust_negative_coordinates`, but requires the image as an addition
input and modifies the RegionBox object directly.

A message is logged in the debugger if a dimension is adjusted.

I also updated the `crop_image` function to call this before applying the crop.


## v1.23.1 (2025-02-07)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "med-imagetools"
version = "1.23.1"
version = "1.23.2"
description = "Med-Imagetools: Transparent and Reproducible Medical Image Processing Pipelines in Python"
authors = [
{ name = "Sejin Kim" },
Expand Down
2 changes: 1 addition & 1 deletion src/imgtools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.23.1"
__version__ = "1.23.2"

from .coretypes import BoxPadMethod, Coordinate3D, RegionBox, Size3D, Spacing3D
from .datasets import example_data, example_data_paths
Expand Down

0 comments on commit 56b98ec

Please sign in to comment.