Skip to content

Commit

Permalink
chore(sem-ver): 2.0.0-rc.4
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release committed Feb 10, 2025
1 parent 9949a4f commit 275681e
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


## v2.0.0-rc.4 (2025-02-10)

### 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),
[`9949a4f`](https://github.com/bhklab/med-imagetools/commit/9949a4fa1463ae2c45acb7282a039333a2960253))

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.


## v2.0.0-rc.3 (2025-02-07)

### Chores
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 = "2.0.0-rc.3"
version = "2.0.0-rc.4"
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__ = "2.0.0-rc.3"
__version__ = "2.0.0-rc.4"

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

0 comments on commit 275681e

Please sign in to comment.