Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
genomewalker committed Nov 18, 2022
1 parent 7e549ea commit 323da9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bam_filter/sam_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_tad(cov, trim_min=10, trim_max=90):
]

if sum(cov) == 0:
return 0, None
return 0, 0
else:
return sum(cov) / len(cov), len(cov)

Expand Down

0 comments on commit 323da9c

Please sign in to comment.