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

Fix masked-loading when using two channels in cellpose task. #640

Closed tcompa closed 5 months ago

tcompa commented 5 months ago

The original code could only work with one channel input for masking the background. This commit adds support for more than one channel. (https://github.com/fractal-analytics-platform/fractal-tasks-core/pull/639#issue-2085918231)

Thanks @FranziskaMoos-FMI for the PR!

I'll try to add a failing test first, so that #639 can then fix it.

tcompa commented 5 months ago

The CI in https://github.com/fractal-analytics-platform/fractal-tasks-core/pull/642 fails, while the same (new) test passes within #639.