From 13f66187946229faaed3006b05843e3e4279be7c Mon Sep 17 00:00:00 2001 From: Pouria Tajvar <31826342+ptajvar@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:05:30 +0200 Subject: [PATCH] Update src/pixelator/pixeldataset/utils.py Co-authored-by: Johan Dahlberg --- src/pixelator/pixeldataset/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pixelator/pixeldataset/utils.py b/src/pixelator/pixeldataset/utils.py index 39d10d86..a210f659 100644 --- a/src/pixelator/pixeldataset/utils.py +++ b/src/pixelator/pixeldataset/utils.py @@ -221,6 +221,8 @@ def write_anndata(adata: AnnData, filename: PathType) -> None: def _compute_sub_communities( component_edgelist: pd.DataFrame, n_edges_reconnect: int | None = None +) -> pd.Series: + component_edgelist: pd.DataFrame, n_edges_reconnect: int | None = None ): component_edgelist = ( component_edgelist.groupby(["upia", "upib"], observed=True)["count"]