Fix DeprecationWarning
Fix DeprecationWarning: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Fix DeprecationWarning
The task
**Title:** Fix `DeprecationWarning`
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.