Skip to content

Commit

Permalink
fix linear output of grouped counts, fixes #258, huge thanks to @qson…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed Nov 15, 2024
1 parent 7d495f7 commit 2a37a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/long_read_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def __init__(self, output_prefix, assignment_extractor, read_groups, read_counte
self.group_numeric_ids = {}
self.ordered_groups = sorted(read_groups)
if self.ordered_groups:
for i, g in enumerate(read_groups):
for i, g in enumerate(self.ordered_groups):
self.group_numeric_ids[g] = i
self.read_counter = read_counter

Expand Down

0 comments on commit 2a37a92

Please sign in to comment.