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