Skip to content

Commit a0622fd

Browse files
committed
v1.0.4
1 parent 2659921 commit a0622fd

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ line_length = 79
1111

1212
[project]
1313
name = "unet_lungs_segmentation"
14-
version = "1.0.3"
14+
version = "1.0.4"
1515
description = "A U-Net model for lung segmentation in mice CT scans."
1616
authors = [
1717
{ name = "Chappuis Quentin", email = "quentin.chappuis@epfl.ch" }

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = unet-lungs-segmentation
3-
version = 1.0.1
3+
version = 1.0.4
44
description = 3D U-Net model for the segmentation of the lungs in mice CT scans.
55
long_description = file: README.md
66
long_description_content_type = text/markdown

src/unet_lungs_segmentation/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def process_input_file_predict(input_image_file, threshold, lungs_predict):
99

1010
if threshold is None:
1111
threshold = 0.5
12-
pred = lungs_predict.segment_lungs(pred, threshold)
12+
pred = lungs_predict.segment_lungs(image, threshold)
1313

1414
pt = Path(input_image_file)
1515
out_file_name = pt.parent / f"{pt.stem}_mask.tif"

0 commit comments

Comments
 (0)