Skip to content

Commit

Permalink
Fixed minor bug with nReads (sometimes) being float
Browse files Browse the repository at this point in the history
  • Loading branch information
ivargr committed Apr 5, 2019
1 parent 51c8028 commit 8905bab
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 8905bab

Please sign in to comment.