Closed
Description
Current situation:
- The create-ome-zarr task accepts a list of N
input_paths
, which are then treated as independent plates and processed one by one - leading to N OME-Zarr files. - The copy-ome-zarr task (soon to be partly refactored, see Extend/improve copy-zarr task #279) only supports
len(input_paths)=1
, but in this folder there may exist N OME-Zarr files, for instance because of what was described in point 1. In this case, the copy-ome-zarr task loops over the N independent plates and copies them into N new OME-Zarr's. - Note: it's not fully clear what would happen if we call the copy-ome-zarr task twice on the same folder. I think that the first time it will create a
plate_mip.zarr
copy of the originalplate.zarr
, while the second time it will attempt creating copies of bothplate.zarr
andplate_mip.zarr
, likely resulting into errors.
As part of last week meetings, we mentioned that this is not necessarily a crucial feature, but for sure it does add up to the task complexity. Question: should we fully drop it?
If so, the new version would be:
- The create-ome-zarr task only accepts a single input folder, while multiple input folders only make sense for its multiplexing version.
- The copy-ome-zarr accepts a single input folder (which is already the case) and checks that this folder only has a single OME-Zarr.
- A more fine-grained operation in a folder which includes multiple OME-Zarr's would not be immediately supported. Most likely it would require additional inputs from the user (possibly related to Replace
parallelization_level
with more structured options of what to run fractal-server#792), and it would also depend on Turninput_paths
into zarr filenames? #324 and Enable 2D to 3D workflows #342, and on the future way of storing MIP projections in the same OME-Zarr.
Metadata
Metadata
Assignees
Type
Projects
Status
Done