Skip to content

Commit 841019f

Browse files
committed
Change json output of convert 2d to 3d task
1 parent 25c9f08 commit 841019f

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

src/fractal_helper_tasks/convert_2D_segmentation_to_3D.py

+20-5
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,27 @@ def convert_2D_segmentation_to_3D(
259259

260260
logger.info("Finished 2D to 3D conversion")
261261

262-
output_dict = dict(
263-
filters=dict(
264-
types=dict(is_3D=True),
265-
)
262+
# FIXME: Remove that, but ensure that the output zarr_url is set for the
263+
# 3D one? Would that work?
264+
# If I don't, but the output types are set => changes the type of 2D
265+
# images to 3D?
266+
# If I don't set an output type, then tasks after it run on 2D images,
267+
# which isn't the goal
268+
# output_dict = dict(
269+
# filters=dict(
270+
# types=dict(is_3D=True),
271+
# )
272+
# )
273+
# return output_dict
274+
# New idea, to be tested:
275+
image_list_updates = dict(
276+
image_list_updates=[
277+
dict(
278+
zarr_url=zarr_3D_url,
279+
)
280+
]
266281
)
267-
return output_dict
282+
return image_list_updates
268283

269284

270285
if __name__ == "__main__":

0 commit comments

Comments
 (0)