Skip to content

Commit

Permalink
Update src/pixelator/pixeldataset/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Johan Dahlberg <johan.dahlberg@pixelgen.tech>
  • Loading branch information
ptajvar and johandahlberg authored Oct 22, 2024
1 parent 4d38f39 commit 13f6618
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pixelator/pixeldataset/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 13f6618

Please sign in to comment.