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