Skip to content

Commit 4c7f2c4

Browse files
authored
Fix #928 (#929)
1 parent 0965841 commit 4c7f2c4

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGES.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
3.4.1
2+
3+
* Fixed a bug in bamPEFragmentSize that caused incompatibility with newer matplotlib releases. (issue #928)
4+
15
3.4.0
26

37
* Fixed a bug in one of the Galaxy wrappers.

deeptools/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# This file is originally generated from Git information by running 'setup.py
33
# version'. Distribution tarballs contain a pre-generated copy of this file.
44

5-
__version__ = '3.4.0'
5+
__version__ = '3.4.1'

deeptools/bamPEFragmentSize.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def getDensity(lengths, minVal, maxVal):
119119
This is essentially computing what hist() in matplotlib is doing and returning the results.
120120
This then allows us to free up the memory consumed by each sample rather than returning it all back to main() for plotting.
121121
"""
122-
n, bins, patches = plt.hist(lengths, bins=100, range=(minVal, maxVal), normed=True)
122+
n, bins, patches = plt.hist(lengths, bins=100, range=(minVal, maxVal), density=True)
123123
plt.clf()
124124
return (n, bins)
125125

galaxy/wrapper/deepTools_macros.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<macros>
22

33
<token name="@THREADS@">--numberOfProcessors "\${GALAXY_SLOTS:-4}"</token>
4-
<token name="@WRAPPER_VERSION@">3.4.0.0</token>
4+
<token name="@WRAPPER_VERSION@">3.4.1.0</token>
55
<xml name="requirements">
66
<requirements>
7-
<requirement type="package" version="3.4.0">deeptools</requirement>
7+
<requirement type="package" version="3.4.1">deeptools</requirement>
88
<requirement type="package" version="1.9">samtools</requirement>
99
</requirements>
1010
<expand macro="stdio" />

0 commit comments

Comments
 (0)