Skip to content

Commit 373c30e

Browse files
committed
Changed the division to floor division due to a bug.
1 parent 8f50b7a commit 373c30e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TCSfilter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def ListParser(infile_name,minqual,mincov):
3333
covs = sorted(list(map(int, covs)))
3434
if tcov <= mincov: #Discard positions with less than mincov
3535
pass
36-
elif int(lines.split()[12]) >= tcov/2: #Discard positions with many gaps
36+
elif int(lines.split()[12]) >= tcov//2: #Discard positions with many gaps
3737
pass
3838
elif covs[-2] <= (ceil(tcov*0.2)): #Discard insufficient second variant
3939
pass

0 commit comments

Comments
 (0)