Skip to content

Commit

Permalink
sys.maxint -> sys.maxsize
Browse files Browse the repository at this point in the history
  • Loading branch information
t-neumann committed Mar 25, 2020
1 parent d1f1f06 commit 3b12e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slamdunk/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def estimateMaxReadLength(bam):

readfile = pysam.AlignmentFile(bam, "rb")

minLength = sys.maxint
minLength = sys.maxsize
maxLength = 0

for read in readfile.head(n = 1000) :
Expand Down

0 comments on commit 3b12e8f

Please sign in to comment.