From 4c7f2c47a769d81a183eda214346e1ffedafdf7d Mon Sep 17 00:00:00 2001 From: Devon Ryan Date: Wed, 11 Mar 2020 10:52:05 +0100 Subject: [PATCH] Fix #928 (#929) --- CHANGES.txt | 4 ++++ deeptools/_version.py | 2 +- deeptools/bamPEFragmentSize.py | 2 +- galaxy/wrapper/deepTools_macros.xml | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 3e5964f232..d8d319decb 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,7 @@ +3.4.1 + + * Fixed a bug in bamPEFragmentSize that caused incompatibility with newer matplotlib releases. (issue #928) + 3.4.0 * Fixed a bug in one of the Galaxy wrappers. diff --git a/deeptools/_version.py b/deeptools/_version.py index c551a1e1c2..80c81279af 100644 --- a/deeptools/_version.py +++ b/deeptools/_version.py @@ -2,4 +2,4 @@ # This file is originally generated from Git information by running 'setup.py # version'. Distribution tarballs contain a pre-generated copy of this file. -__version__ = '3.4.0' +__version__ = '3.4.1' diff --git a/deeptools/bamPEFragmentSize.py b/deeptools/bamPEFragmentSize.py index 4725457e29..b72af8b909 100644 --- a/deeptools/bamPEFragmentSize.py +++ b/deeptools/bamPEFragmentSize.py @@ -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) diff --git a/galaxy/wrapper/deepTools_macros.xml b/galaxy/wrapper/deepTools_macros.xml index 4d47970369..738dc10b6f 100644 --- a/galaxy/wrapper/deepTools_macros.xml +++ b/galaxy/wrapper/deepTools_macros.xml @@ -1,10 +1,10 @@ --numberOfProcessors "\${GALAXY_SLOTS:-4}" - 3.4.0.0 + 3.4.1.0 - deeptools + deeptools samtools