Skip to content

Commit

Permalink
Minor code quality improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Oct 21, 2024
1 parent 2a3a179 commit 848086f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aligntools/cigar_hit.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,5 +434,5 @@ def find_group(phit: CigarHit) -> None:

# Collect all intervals back together,
# connecting them with CigarActions.DELETE.
return [reduce(lambda x, y: x.connect(y), group)
return [reduce(CigarHit.connect, group)
for group in sorted_groups]

0 comments on commit 848086f

Please sign in to comment.