Fix test covariate when restricting to a segment (seg=)
Fix test covariate when restricting to a segment (seg=): a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Fix test covariate when restricting to a segment (seg=)
The task
**Title:** Fix test_covariate when restricting to a segment (seg=)
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.