Skip to content

Commit a17d4bb

Browse files
committed
Fix roi.z settings
1 parent 0155294 commit a17d4bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fractal_tasks_core/tasks/projection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ def projection(
117117

118118
roi_list = []
119119
for roi in table.rois:
120-
roi.z_length = roi.z + 1
120+
roi.z = 0
121+
roi.z_length = 1
121122
roi_list.append(roi)
122123

123124
mip_table.set_rois(roi_list, overwrite=True)

0 commit comments

Comments
 (0)