Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/deeptools/deepTools into…
Browse files Browse the repository at this point in the history
… develop
  • Loading branch information
dpryan79 committed Mar 15, 2020
2 parents 339da5d + 4c7f2c4 commit aeb8aca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
3.4.1

* Prevented temporary bedGraph files from being written to (possibly small) shared-memory drives even when TMPDIR is set to somewhere else. Now shared memory is only used if requested by setting TMPDIR (or other appropriate environment variables) to `/dev/shm`.
* Fixed a bug in bamPEFragmentSize that caused incompatibility with newer matplotlib releases. (issue #928)

3.4.0

Expand Down
2 changes: 1 addition & 1 deletion deeptools/bamPEFragmentSize.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def getDensity(lengths, minVal, maxVal):
This is essentially computing what hist() in matplotlib is doing and returning the results.
This then allows us to free up the memory consumed by each sample rather than returning it all back to main() for plotting.
"""
n, bins, patches = plt.hist(lengths, bins=100, range=(minVal, maxVal), normed=True)
n, bins, patches = plt.hist(lengths, bins=100, range=(minVal, maxVal), density=True)
plt.clf()
return (n, bins)

Expand Down

0 comments on commit aeb8aca

Please sign in to comment.