Skip to content

Commit

Permalink
fix incorrect range attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimens committed Mar 3, 2025
1 parent 17e4784 commit 2dfb699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harpy/bin/molecule_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def which_overlap(start: int, end: int, binlist: list):
def print_depth_counts(contig, counter_obj, intervals):
"""Print the Counter object to stdout"""
for idx,int_bin in enumerate(intervals):
sys.stdout.write(f"{contig}\t{int_bin.start}\t{int_bin.stop}\t{counter_obj[idx]/(int_bin.end - int_bin.start)}\n")
sys.stdout.write(f"{contig}\t{int_bin.start}\t{int_bin.stop}\t{counter_obj[idx]/(int_bin.stop - int_bin.start)}\n")

with gzip.open(args.statsfile, "rt") as statsfile:
aln_ranges = []
Expand Down

0 comments on commit 2dfb699

Please sign in to comment.