Skip to content

Commit e3fab54

Browse files
committed
small fixes
1 parent 219936a commit e3fab54

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/ilastik_tasks/ilastik_pixel_classification_segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def segment_ROI(
113113

114114
# Get foreground class and reshape to 3D
115115
ilastik_output = np.squeeze(ilastik_output[..., foreground_class])
116-
print(f"{ilastik_output.shape=} after foreground class selection")
116+
logger.info(f"{ilastik_output.shape=} after foreground class selection")
117117

118118
# take mask of regions above threshold
119119
ilastik_labels = ilastik_output > threshold

tests/test_ilastik_pixel_classification_segmentation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ def test_data_dir_3d(tmp_path: Path, zenodo_zarr_3d: list) -> str:
1616
"""
1717
Copy a test-data folder into a temporary folder.
1818
"""
19-
tmp_path = Path("/data/active/rhornb/fractal/pytest/")
2019
dest_dir = (tmp_path / "ilastik_data_3d").as_posix()
2120
if Path(dest_dir).exists():
2221
shutil.rmtree(dest_dir)

0 commit comments

Comments
 (0)