Deprecation fixes for back-compatibility in constructor.
Deprecation fixes for back-compatibility in constructor.: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Deprecation fixes for back-compatibility in constructor.
The task
**Title:** Deprecation fixes for back-compatibility in constructor.
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.