Fix ValueError in get sparse from igraph when creating sparse matrices
Fix ValueError in get sparse from igraph when creating sparse matrices: a task in life-science-SWE1.0 (Harbor dataset). Title: Fix ValueError in get sparse from igraph when creating sparse matrices
The task
**Title:** Fix ValueError in get_sparse_from_igraph when creating sparse matrices
Part of scalingX/life-science-SWE1.0.