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 13f6618 commit a427c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixelator/pixeldataset/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _compute_sub_communities(
return component_communities


def _assess_doublet(component_edgelist: pd.DataFrame):
def _assess_doublet(component_edgelist: pd.DataFrame) -> tuple[bool, int]:
"""Check whether a component is a potential doublet and how many edges should be removed to split it.
A component is a potential doublet if a) it has more than one community and
Expand Down

0 comments on commit a427c36

Please sign in to comment.