Fix for spatial neighbors breaks when transform='spectral'
Fix for spatial neighbors breaks when transform='spectral': a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Fix for spatial neighbors breaks when transform='spectral'
The task
**Title:** Fix for spatial_neighbors breaks when transform='spectral'
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.