Fixed out of bounds error and changed cells used for doublet calculation
Fixed out of bounds error and changed cells used for doublet calculation: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Fixed out of bounds error and changed cells used for doublet calculation
The task
**Title:** Fixed out of bounds error and changed cells used for doublet calculation
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.