Skip to content

Commit 1c059c7

Browse files
committed
Fix label attribute loading & remove test package from coverage
1 parent 78060d3 commit 1c059c7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Project metadata (see https://peps.python.org/pep-0621)
22
[project]
33
name = "fractal-helper-tasks"
4-
version = "0.1.0"
4+
version = "0.1.0a5"
55
description = "Collection of Fractal helper tasks"
66
readme = "README.md"
77
license = { text = "BSD-3-Clause" }
@@ -68,3 +68,8 @@ extend-ignore = [
6868
[tool.ruff.per-file-ignores]
6969
"tests/*.py" = ["D", "S"]
7070
"setup.py" = ["D"]
71+
72+
[tool.deptry]
73+
exclude = [
74+
'tests', 'examples'
75+
]

src/fractal_helper_tasks/convert_2D_segmentation_to_3D.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def convert_2D_segmentation_to_3D(
215215
)
216216
logger.info(f"Saved {new_label_name} to 3D Zarr at full resolution")
217217
# 4) Build pyramids for label image
218-
label_meta = load_NgffImageMeta(f"{zarr_url}/labels/{new_label_name}")
218+
label_meta = load_NgffImageMeta(f"{zarr_url}/labels/{label_name}")
219219
build_pyramid(
220220
zarrurl=f"{zarr_3D_url}/labels/{new_label_name}",
221221
overwrite=overwrite,

0 commit comments

Comments
 (0)