fix TypeError when running notebooks
fix TypeError when running notebooks: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: fix TypeError when running notebooks
The task
**Title:** fix TypeError when running notebooks
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.