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
11 stars 5 forks source link

In `calculate_registration_image_based`, should we check that `zarr_url != reference_zarr_url`? #695

Open tcompa opened 2 months ago

jluethi commented 2 months ago

It's mostly the job of the init function to not provide the reference_zarr_url as one of the parallelization items. If it does, nothing would break though (it's just a trivial registration that gets calculated).

We can add a check. In the past, we had something there to just skip the task if that was provided. Not sure whether this is still the most relevant