fractal-analytics-platform / fractal-tasks-core

Main tasks for the Fractal analytics platform
https://fractal-analytics-platform.github.io/fractal-tasks-core/
BSD 3-Clause "New" or "Revised" License
12 stars 6 forks source link

Remove zarr-errors handling from tasks #541

Open tcompa opened 10 months ago

tcompa commented 10 months ago

There are few places where we use try/except for zarr errors, which could be handled better (i.e. the try/except should be replaced by an if/else, with conditions based on zarr attributes).

  1. In create-omer-zarr-multiplex, when looping over wells
  2. In apply_registration_to_image, when getting the current label_list.

Note that this is not applicable (for the moment) to the ContainsArrayError errors in yokogawa-to-zarr and MIP tasks.

tcompa commented 8 months ago

Related: https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/621