Fixes assign ligands to celltype when there are no general ligands
Fixes assign ligands to celltype when there are no general ligands: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Fixes assign ligands to celltype when there are no general ligands
The task
**Title:** Fixes `assign_ligands_to_celltype` when there are no general ligands
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.