Skip to content

Commit

Permalink
Merge pull request #2 from ivargr/master
Browse files Browse the repository at this point in the history
Fixed minor bug with nReads (sometimes) being float
  • Loading branch information
vishakad authored Apr 5, 2019
2 parents 51c8028 + 8905bab commit 261b6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChipSeq.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def sampleReads( self, fragExtract, fragmentSetStr, nReads, generateIntervals ):
duplicates = np.zeros( N, dtype=np.int )

if generateIntervals:
readsToDuplicate = np.zeros( nReads, dtype=np.int )
readsToDuplicate = np.zeros( int(nReads), dtype=np.int )
else:
readsToDuplicate = []

Expand Down

0 comments on commit 261b6e0

Please sign in to comment.