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
14 stars 6 forks source link

Normalize plate names in Cellvoyager converter #843

Open jluethi opened 1 month ago

jluethi commented 1 month ago

Let's improve our strategy for plate name of the OME-Zarrs. We want to avoid some special characters like # (see https://github.com/fractal-analytics-platform/fractal-vizarr-viewer/issues/33). We should also drop other potentially weird characters from plate names.

We still want to support _ and - though. And we need to harmonize this with our plate name uniqueness check

tcompa commented 1 month ago

In case it's useful, we have a couple of sanitize/validate auxiliary functions in fractal-server which may be similar to what could be used here - see https://github.com/fractal-analytics-platform/fractal-server/blob/032367f69e292065f451c45e4c11614727e63b6f/fractal_server/string_tools.py.