Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# 1.5.0 (a2 prerelease)

* Dependencies:
* Bump `ngio` to `>=0.2.2,<0.3.0`.
* Bump `ngio` to `>=0.2.4,<0.3.0`.
* Tasks:
* Refactor `projection` task to use the new `ngio` API.
* Refactor `copy_ome_zarr_plate` init task to support the upcoming flexibility.
Expand Down
7 changes: 1 addition & 6 deletions fractal_tasks_core/tasks/projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,11 @@ def projection(
roi_table_name, check_type="generic_roi_table"
)

roi_list = []
for roi in table.rois():
roi.z = 0.0
roi.z_length = 1.0
roi_list.append(roi)
table.add(roi, overwrite=True)

# We should have a public API to set reset the rois
# or have a overwrite keyword in the add method
table._rois = {}
table.add(roi_list)
table.consolidate()
logger.info(f"Table {roi_table_name} Projection done")

Expand Down
Loading
Loading